EMSAX931

EMSA from X9.31 (EMSA2 in IEEE 1363) Useful for Rabin-Williams, also sometimes used with RSA in odd protocols.

Constructors

this
this(HashFunction hash)

Members

Functions

encodingOf
SecureVector!ubyte encodingOf(SecureVector!ubyte msg, size_t output_bits, RandomNumberGenerator )
Undocumented in source. Be warned that the author may not have intended to support it.
rawData
SecureVector!ubyte rawData()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(const(ubyte)* input, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
verify
bool verify(SecureVector!ubyte coded, SecureVector!ubyte raw, size_t key_bits)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From EMSA

update
void update(const(ubyte)* input, size_t length)

Add more data to the signature computation

rawData
SecureVector!ubyte rawData()
encodingOf
SecureVector!ubyte encodingOf(SecureVector!ubyte msg, size_t output_bits, RandomNumberGenerator rng)

Return the encoding of a message

verify
bool verify(SecureVector!ubyte coded, SecureVector!ubyte raw, size_t key_bits)

Verify the encoding

Meta