EMEPKCS1v15

EME from PKCS #1 v1.5

Members

Functions

maximumInputSize
size_t maximumInputSize(size_t keybits)
Undocumented in source. Be warned that the author may not have intended to support it.
pad
SecureVector!ubyte pad(const(ubyte)* input, size_t inlen, size_t olen, RandomNumberGenerator rng)
Undocumented in source. Be warned that the author may not have intended to support it.
unpad
SecureVector!ubyte unpad(const(ubyte)* input, size_t inlen, size_t key_len)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From EME

maximumInputSize
size_t maximumInputSize(size_t keybits)

Return the maximum input size in bytes we can support

encode
SecureVector!ubyte encode(const(ubyte)* msg, size_t msg_len, size_t key_bits, RandomNumberGenerator rng)

Encode an input

encode
SecureVector!ubyte encode(SecureVector!ubyte msg, size_t key_bits, RandomNumberGenerator rng)

Encode an input

decode
SecureVector!ubyte decode(const(ubyte)* msg, size_t msg_len, size_t key_bits)

Decode an input

decode
SecureVector!ubyte decode(SecureVector!ubyte msg, size_t key_bits)

Decode an input

~this
~this()
Undocumented in source.
pad
SecureVector!ubyte pad(const(ubyte)* input, size_t in_length, size_t key_length, RandomNumberGenerator rng)

Encode an input

unpad
SecureVector!ubyte unpad(const(ubyte)* input, size_t in_length, size_t key_length)

Decode an input

Meta