- add: linux support

This commit is contained in:
2025-12-03 23:16:18 +03:00
parent 6eead05308
commit d7f775e80c
7 changed files with 946 additions and 57 deletions

View File

@@ -10,7 +10,7 @@ public class CryptographicTest
public async Task EncryptDecrypt()
{
var key = CryptographicStore.GetComputerKey();
Console.WriteLine($"Key: {key}");
Console.WriteLine($"Key: {Convert.ToBase64String(key)}");
var entry = new TestEncryptEntry("Hello", "World");
Console.WriteLine($"Raw data: {entry}");
var encrypt = CryptographicStore.Encrypt(entry, key);