Method | Description | |
---|---|---|
CheckKey ( byte key ) : void |
Checks a 32 byte key for compliance with the Poly1305 key requirements, e.g.
|
|
Clamp ( byte key ) : void |
Modifies an existing 32 byte key value to comply with the requirements of the Poly1305 key by clearing required bits in the
|
Method | Description | |
---|---|---|
engineGenerateKey ( ) : byte[] |
Generates a 256 bit key in the format required for Poly1305 - e.g.
|
|
engineInit ( |
Initialises the key generator. Poly1305 keys are always 256 bits, so the key length in the provided parameters is ignored. |
Method | Description | |
---|---|---|
CheckMask ( byte b, byte mask ) : void |
public static CheckKey ( byte key ) : void | ||
key | byte | Key. |
return | void |
public static Clamp ( byte key ) : void | ||
key | byte | a 32 byte key value k[0] ... k[15], r[0] ... r[15] |
return | void |
protected engineInit ( |
||
param | ||
return | void |