Add code for opening vault

This commit is contained in:
TheXamlGuy
2024-05-02 23:07:48 +01:00
parent 8d62f36931
commit 7582f63a68
2 changed files with 9 additions and 3 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
namespace Toolkit.Foundation;
public interface IKeyDeriver
{
byte[] DeriveKey(string password, byte[] salt, int keySize = 32, int iterations = 10000);
byte[] DeriveKey(byte[] phrased,
byte[] salt,
int keySize = 32,
int iterations = 10000);
}