Exemplo n.º 1
0
 protected internal IAsymmetricBlockCipher GetEngine()
 {
     return(RsaCrypto.GetRsaEngine(UsePkcsPadding.Value));
 }
Exemplo n.º 2
0
 protected internal string DecryptWithPrivateKey(string cipher, bool usePkcsPadding)
 {
     return(DecryptWithPrivateKey(cipher, RsaCrypto.GetRsaEngine(usePkcsPadding)));
 }