|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.crypto.HMACSHA256Generator
Calculate the HMAC-SHA256 of a key+message. Currently FAKE - returns a stupid kludgy hash: H(H(key) XOR H(data)). Fix me!
Constructor Summary | |
HMACSHA256Generator(I2PAppContext context)
|
Method Summary | |
Hash |
calculate(SessionKey key,
byte[] data)
This should calculate the HMAC/SHA256, but it DOESNT. |
static HMACSHA256Generator |
getInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HMACSHA256Generator(I2PAppContext context)
Method Detail |
public static HMACSHA256Generator getInstance()
public Hash calculate(SessionKey key, byte[] data)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |