journal/Journal.Core/Services/IVaultCryptoService.cs

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);
}