Class NumberUtils

java.lang.Object
org.jasypt.encryption.pbe.NumberUtils

final class NumberUtils extends Object
Utils for processing numbers in encryptors. Intended only for internal use within jasypt.
Since:
1.2
  • 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()