메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
CheckMask ( byte b, byte mask ) : void |
public static Clamp ( byte key ) : void | ||
key | byte | a 32 byte key value k[0] ... k[15], r[0] ... r[15] |
리턴 | void |
protected engineInit ( |
||
param | ||
리턴 | void |