Class SecretFactoryTest


  • public class SecretFactoryTest
    extends java.lang.Object
    • Constructor Detail

      • SecretFactoryTest

        public SecretFactoryTest()
    • Method Detail

      • testGenerateSecret

        public void testGenerateSecret()
                                throws java.lang.Exception
        Test all PBKDF2 with HMAC
        Throws:
        java.lang.Exception
      • testEmptyPassword_PBKDF2WithHmacSHA256_generation

        public void testEmptyPassword_PBKDF2WithHmacSHA256_generation()
                                                               throws java.lang.Exception
        Test PBKDF2 with Hmac SHA256 empty password Hashing. Following Java implementation, a null password should be handled the same has an empty char array.
        Throws:
        java.lang.Exception