diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/crypto/PbeParametersGenerator.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/crypto/PbeParametersGenerator.cs b/crypto/src/crypto/PbeParametersGenerator.cs index 21679d45e..97d23df90 100644 --- a/crypto/src/crypto/PbeParametersGenerator.cs +++ b/crypto/src/crypto/PbeParametersGenerator.cs @@ -130,7 +130,7 @@ namespace Org.BouncyCastle.Crypto if (password == null) return new byte[0]; - return Strings.ToAsciiByteArray(password); + return Strings.ToByteArray(password); } [Obsolete("Use version taking 'char[]' instead")] @@ -140,7 +140,7 @@ namespace Org.BouncyCastle.Crypto if (password == null) return new byte[0]; - return Strings.ToAsciiByteArray(password); + return Strings.ToByteArray(password); } /** |