Package net.i2p.crypto.eddsa
Class EdDSABlinding
java.lang.Object
net.i2p.crypto.eddsa.EdDSABlinding
Utilities for Blinding EdDSA keys.
 PRELIMINARY - Subject to change - see proposal 123
- Since:
 - 0.9.38
 
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionstatic EdDSAPrivateKeyblind(EdDSAPrivateKey key, EdDSAPrivateKey alpha) Only for SigType EdDSA_SHA512_Ed25519.static EdDSAPublicKeyblind(EdDSAPublicKey key, EdDSAPrivateKey alpha) Only for SigType EdDSA_SHA512_Ed25519.static byte[]reduce(byte[] b) Use to generate alphastatic EdDSAPrivateKeyunblind(EdDSAPrivateKey key, EdDSAPrivateKey alpha) Unimplemented, probably not needed except for testing. 
- 
Field Details
- 
ORDER
 
 - 
 - 
Method Details
- 
blind
Only for SigType EdDSA_SHA512_Ed25519.- Parameters:
 key- must be SigType EdDSA_SHA512_Ed25519alpha- generated from hash of secret data- Throws:
 UnsupportedOperationException- unless supported
 - 
blind
Only for SigType EdDSA_SHA512_Ed25519.- Parameters:
 key- must be SigType EdDSA_SHA512_Ed25519alpha- generated from hash of secret data- Throws:
 UnsupportedOperationException- unless supported
 - 
unblind
Unimplemented, probably not needed except for testing.- Parameters:
 key- must be SigType EdDSA_SHA512_Ed25519alpha- generated from hash of secret data- Throws:
 UnsupportedOperationException- unless supported
 - 
reduce
public static byte[] reduce(byte[] b) Use to generate alpha- Parameters:
 b- 64 bytes little endian of random- Returns:
 - 32 bytes little endian mod l
 
 
 -