1
0
mirror of https://github.com/rudollee/Encryption.git synced 2025-06-07 07:46:09 +00:00

Remove "\0" Char at result of Decrypt

This commit is contained in:
wook 2017-05-06 23:50:33 +09:00
parent 507f7417e6
commit 8e7be51f0d

View File

@ -54,7 +54,7 @@ namespace Encryption
cStream.Read(fromEncrypt, 0, fromEncrypt.Length);
return new UTF8Encoding().GetString(fromEncrypt);
return new UTF8Encoding().GetString(fromEncrypt).Replace("\0", "");
}
catch (CryptographicException e)
{