diff options
-rw-r--r-- | crypto/src/crypto/encodings/OaepEncoding.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/src/crypto/encodings/OaepEncoding.cs b/crypto/src/crypto/encodings/OaepEncoding.cs index 92001589c..690be116d 100644 --- a/crypto/src/crypto/encodings/OaepEncoding.cs +++ b/crypto/src/crypto/encodings/OaepEncoding.cs @@ -288,6 +288,7 @@ namespace Org.BouncyCastle.Crypto.Encodings byte[] output = new byte[block.Length - start]; Array.Copy(block, start, output, 0, output.Length); + Array.Clear(block, 0, block.Length); return output; } |