Class CryptoConstants


  • public final class CryptoConstants
    extends Object
    Constants for Crypto Algorithms and Json Crypto Json pointer keys.
    • Field Detail

      • CRYPTO_TYPE

        public static final String CRYPTO_TYPE
        key for crypt type used to generate the crypt value.
        See Also:
        Constant Field Values
      • CRYPTO_VALUE

        public static final String CRYPTO_VALUE
        key for the crypt value, holding the crypt meta-data.
        See Also:
        Constant Field Values
      • CRYPTO_ALGORITHM

        public static final String CRYPTO_ALGORITHM
        Key for the crypto algorithm used to crypt the data.
        See Also:
        Constant Field Values
      • CRYPTO_KEY

        public static final String CRYPTO_KEY
        key for the name of the key-store alias used to crypt the data.
        See Also:
        Constant Field Values
      • PURPOSE_KEY

        public static final String PURPOSE_KEY
        key for the purpose of the key used to crypt the data.
        See Also:
        Constant Field Values
      • STABLE_ID_KEY

        public static final String STABLE_ID_KEY
        key for the id of the key used to crypt the data when purposes are in use.
        See Also:
        Constant Field Values
      • CIPHER_AES_CBC_PKCS5

        public static final String CIPHER_AES_CBC_PKCS5
        A cipher value for the AES/CBC/PKCS5Padding algorithm.
        See Also:
        Constant Field Values
      • CRYPTO_IV

        public static final String CRYPTO_IV
        key for the Initialization Vector (a.k.a. salt) used to crypt the data.
        See Also:
        Constant Field Values
      • STORAGE_TYPE_HASH

        public static final String STORAGE_TYPE_HASH
        A salted hash encryption storage type.
        See Also:
        Constant Field Values
      • ALGORITHM_MD5

        public static final String ALGORITHM_MD5
        The name of the message digest algorithm that should be used to generate MD5 hashes.
        See Also:
        Constant Field Values
      • ALGORITHM_SHA_1

        public static final String ALGORITHM_SHA_1
        The name of the message digest algorithm that should be used to generate SHA-1 hashes.
        See Also:
        Constant Field Values
      • ALGORITHM_SHA_256

        public static final String ALGORITHM_SHA_256
        The name of the message digest algorithm that should be used to generate 256-bit SHA-2 hashes.
        See Also:
        Constant Field Values
      • ALGORITHM_SHA_384

        public static final String ALGORITHM_SHA_384
        The name of the message digest algorithm that should be used to generate 384-bit SHA-2 hashes.
        See Also:
        Constant Field Values
      • ALGORITHM_SHA_512

        public static final String ALGORITHM_SHA_512
        The name of the message digest algorithm that should be used to generate 512-bit SHA-2 hashes.
        See Also:
        Constant Field Values
      • ALGORITHM_BCRYPT

        public static final String ALGORITHM_BCRYPT
        The name of the BCrypt cryptographic hash algorithm.
        See Also:
        Constant Field Values
      • ALGORITHM_SCRYPT

        public static final String ALGORITHM_SCRYPT
        The name of the SCrypt cryptographic hash algorithm.
        See Also:
        Constant Field Values
      • ALGORITHM_PBKDF2

        public static final String ALGORITHM_PBKDF2
        The name of the Password-Based Key Derivation Function 2 (PBKDF2) cryptographic hash algorithm.
        See Also:
        Constant Field Values