-
Notifications
You must be signed in to change notification settings - Fork 3
Stream crypto
Bruce Wayne edited this page Jul 28, 2021
·
5 revisions
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 |