Class PBKDF2HMACSHA1

  • All Implemented Interfaces:
    KDF, PBKDF2

    public class PBKDF2HMACSHA1
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PBKDF2HMACSHA1()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getKey​(byte[] _pass, int size)  
      void init​(byte[] salt, int iterations)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PBKDF2HMACSHA1

        public PBKDF2HMACSHA1()
    • Method Detail

      • init

        public void init​(byte[] salt,
                         int iterations)
                  throws java.lang.Exception
        Specified by:
        init in interface PBKDF2
        Throws:
        java.lang.Exception
      • getKey

        public byte[] getKey​(byte[] _pass,
                             int size)
        Specified by:
        getKey in interface KDF