mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Misc
This commit is contained in:
@@ -243,7 +243,9 @@ public static class ArchiCryptoHelper {
|
||||
try {
|
||||
byte[] key = SHA256.HashData(EncryptionKey);
|
||||
byte[] textData = Encoding.UTF8.GetBytes(text);
|
||||
byte[] iv = RandomNumberGenerator.GetBytes(16);
|
||||
|
||||
Span<byte> iv = stackalloc byte[16];
|
||||
RandomNumberGenerator.Fill(iv);
|
||||
|
||||
using Aes aes = Aes.Create();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user