EME Classes
Encoding Method for Encryption
Return the maximum input size in bytes we can support
| size_t keybits | the size of the key in bits |
Encode an input
| const(ubyte)* msg | the plaintext |
| size_t msg_len | length of plaintext in bytes |
| size_t key_bits | length of the key in bits |
| RandomNumberGenerator rng | a random number generator |
Encode an input
| SecureVector!ubyte msg | the plaintext |
| size_t key_bits | length of the key in bits |
| RandomNumberGenerator rng | a random number generator |
Decode an input
| const(ubyte)* msg | the encoded plaintext |
| size_t msg_len | length of encoded plaintext in bytes |
| size_t key_bits | length of the key in bits |
Decode an input
| SecureVector!ubyte msg | the encoded plaintext |
| size_t key_bits | length of the key in bits |
Encode an input
| const(ubyte)* input | the plaintext |
| size_t in_length | length of plaintext in bytes |
| size_t key_length | length of the key in bits |
| RandomNumberGenerator rng | a random number generator |
Decode an input
| const(ubyte)* input | the encoded plaintext |
| size_t in_length | length of encoded plaintext in bytes |
| size_t key_length | length of the key in bits |