Package org.jasypt.encryption.pbe
Class NumberUtils
- java.lang.Object
-
- org.jasypt.encryption.pbe.NumberUtils
-
final class NumberUtils extends java.lang.Object
Utils for processing numbers in encryptors. Intended only for internal use within jasypt.- Since:
- 1.2
-
-
Constructor Summary
Constructors Modifier Constructor Description private
NumberUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static byte[]
byteArrayFromInt(int number)
(package private) static int
intFromByteArray(byte[] byteArray)
private static long
maxSafeSizeInBytes()
(package private) static byte[]
processBigIntegerEncryptedByteArray(byte[] byteArray, int signum)
-
-
-
Method Detail
-
byteArrayFromInt
static byte[] byteArrayFromInt(int number)
-
intFromByteArray
static int intFromByteArray(byte[] byteArray)
-
processBigIntegerEncryptedByteArray
static byte[] processBigIntegerEncryptedByteArray(byte[] byteArray, int signum)
-
maxSafeSizeInBytes
private static long maxSafeSizeInBytes()
-
-