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:
parent
507f7417e6
commit
8e7be51f0d
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user