ddn.crypto.cipher.rsa
RSA-OAEP Encryption Implementation (PKCS#1 v2.1 / RFC 8017).
alias HashFactory
class RSAOAEP
Types 2
aliasHashFactory = Hash delegate()
Delegate to create a new Hash instance
classRSAOAEP : AsymmetricCipher
Fields
private RSAPublicKey _pubKeyprivate RSAPrivateKey _privKeyprivate bool _encryptingprivate HashFactory _hashFactoryprivate Random _randomprivate const(ubyte)[] _labelMethods
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)