diff --git a/Sparkles/Extensions.cs b/Sparkles/Extensions.cs index 6a982836..5ee4fb61 100644 --- a/Sparkles/Extensions.cs +++ b/Sparkles/Extensions.cs @@ -57,7 +57,7 @@ namespace Sparkles { public static string AESEncrypt (this string plain_text, string password) { Random random = new Random (); - byte [] salt_bytes = new Byte [128]; + byte [] salt_bytes = new Byte [16]; random.NextBytes (salt_bytes); string salt = Convert.ToBase64String (salt_bytes);