make CompositeKey a class to make it simpler to protect its memory in the future

This commit is contained in:
2025-12-01 20:58:14 +03:00
parent e07e9731d1
commit d19ea304cb

View File

@@ -4,7 +4,7 @@ using System.Text;
namespace KeyKeeper.PasswordStore.Crypto; namespace KeyKeeper.PasswordStore.Crypto;
public struct CompositeKey public class CompositeKey
{ {
public string Password { get; } public string Password { get; }
public byte[] Salt { get; } public byte[] Salt { get; }