Reworked encryption to use less heap allocated buffers for secrets.
Also some work on plugin system.
This commit is contained in:
parent
8782ef39c6
commit
054754f553
42 changed files with 1452 additions and 242 deletions
|
|
@ -7,5 +7,7 @@ namespace IdentityShroud.Core.Contracts;
|
|||
public interface IDekEncryptionService
|
||||
{
|
||||
EncryptedDek Encrypt(ReadOnlySpan<byte> plain);
|
||||
byte[] Decrypt(EncryptedDek input);
|
||||
|
||||
void Decrypt(EncryptedDek input, Span<byte> output);
|
||||
int GetDecryptedSize(EncryptedDek input);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue