Stream crypto - HMBSbige/CryptoBase GitHub Wiki
You can use StreamCryptoCreate.XXX
to create instance.
Example:
IStreamCrypto crypto = StreamCryptoCreate.AesCtr(key, iv);
Property | Description |
---|---|
Name | Name of the crypto |
Method | Description |
---|---|
void Update(ReadOnlySpan<byte>, Span<byte>) |
Encrypt or decrypt the data |
void Reset() |
Reset the state |
void Dispose() |
Releases the resources |