EMSA1

EMSA1 from IEEE 1363 Essentially, sign the hash directly

Constructors

this
this(HashFunction hash)

Members

Functions

encodingOf
SecureVector!ubyte encodingOf(SecureVector!ubyte msg, size_t output_bits, RandomNumberGenerator rng)
Undocumented in source. Be warned that the author may not have intended to support it.
hashOutputLength
size_t hashOutputLength()
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.

Variables

m_hash
Unique!HashFunction m_hash;
Undocumented in source.

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