com.google.bitcoin.crypto
Class PBKDF2SHA512

java.lang.Object
  extended by com.google.bitcoin.crypto.PBKDF2SHA512

public class PBKDF2SHA512
extends Object

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

RFC 2898: http://tools.ietf.org/html/rfc2898#section-5.2

This code passes all RFC 6070 test vectors: http://tools.ietf.org/html/rfc6070

http://cryptofreek.org/2012/11/29/pbkdf2-pure-java-implementation/
Modified to use SHA-512 - Ken Sedgwick ken@bonsai.com


Constructor Summary
PBKDF2SHA512()
           
 
Method Summary
static byte[] derive(String P, 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(String P,
                            String S,
                            int c,
                            int dkLen)


Copyright © 2014. All rights reserved.