Class PBKDF2SHA512

    • Constructor Summary

      Constructors 
      Constructor Description
      PBKDF2SHA512()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] derive​(java.lang.String P, java.lang.String S, int c, int dkLen)
      Derive a key using PBKDF2-SHA512
      • Methods inherited from class java.lang.Object

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

      • PBKDF2SHA512

        public PBKDF2SHA512()
    • Method Detail

      • derive

        public static byte[] derive​(java.lang.String P,
                                    java.lang.String S,
                                    int c,
                                    int dkLen)
        Derive a key using PBKDF2-SHA512
        Parameters:
        P - password
        S - salt
        c - iteration count, a positive integer
        dkLen - intended length in octets of the derived key, a positive integer
        Returns:
        derived key