Package org.jasypt.encryption.pbe
Class NumberUtils
java.lang.Object
org.jasypt.encryption.pbe.NumberUtils
Utils for processing numbers in encryptors. Intended only for internal
use within jasypt.
- Since:
- 1.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static byte[]
byteArrayFromInt
(int number) (package private) static int
intFromByteArray
(byte[] byteArray) private static long
(package private) static byte[]
processBigIntegerEncryptedByteArray
(byte[] byteArray, int signum)
-
Constructor Details
-
NumberUtils
private NumberUtils()
-
-
Method Details
-
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()
-