9 lines
244 B
C#
9 lines
244 B
C#
namespace Journal.Core.Services;
|
|
|
|
public interface IVaultCryptoService
|
|
{
|
|
byte[] DeriveKey(string password, byte[] salt);
|
|
byte[] EncryptData(byte[] data, string password);
|
|
byte[] DecryptData(byte[] encryptedData, string password);
|
|
}
|