Class PBKDF2SHA512

  • public class PBKDF2SHA512
    extends java.lang.Object

    This is a clean-room implementation of PBKDF2 using RFC 2898 as a reference.

    RFC 2898:

    This code passes all RFC 6070 test vectors:
    Modified to use SHA-512 - Ken Sedgwick

    • Constructor Summary

      Constructor Description
    • 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)  
      • 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)