mirror of
https://github.com/kwsch/NHSE.git
synced 2026-08-20 01:26:19 -05:00
Rewrite crypto to use span
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
namespace NHSE.Core;
|
||||
using System;
|
||||
|
||||
internal readonly record struct CryptoFile(byte[] Data, byte[] Key, byte[] Ctr);
|
||||
namespace NHSE.Core;
|
||||
|
||||
internal record struct CryptoFile(Memory<byte> Data, Memory<byte> Key, Memory<byte> Ctr);
|
||||
Reference in New Issue
Block a user