ddn.crypto.cipher.rsa

RSA-OAEP Encryption Implementation (PKCS#1 v2.1 / RFC 8017).

class RSAOAEP

Types 2

aliasHashFactory = Hash delegate()

Delegate to create a new Hash instance

Fields
private RSAPublicKey _pubKey
private RSAPrivateKey _privKey
private bool _encrypting
private HashFactory _hashFactory
private Random _random
private const(ubyte)[] _label
Methods
void init(bool encrypt, Key key)
ubyte[] process(const(ubyte)[] input)
private ubyte[] encrypt(const(ubyte)[] M)
private ubyte[] decrypt(const(ubyte)[] C)
Constructors
this(HashFactory hashFactory, Random random = null, const(ubyte)[] label = null)