Files
Walleby/Bitvault/SecurityKey.cs
T
TheXamlGuy c1b6e595bc Mass rename
2024-05-12 11:02:19 +01:00

14 lines
361 B
C#

namespace Bitvault;
public record SecurityKey(byte[] Salt, byte[] EncryptedKey, byte[] DecryptedKey) :
IDisposable
{
public void Dispose()
{
GC.SuppressFinalize(this);
Array.Clear(Salt, 0, Salt.Length);
Array.Clear(EncryptedKey, 0, EncryptedKey.Length);
Array.Clear(DecryptedKey, 0, DecryptedKey.Length);
}
}