TransformMode Enum
Definition
- Namespace
- Bodu.Security.Cryptography
- Assembly
- Bodu.Security.Cryptography.dll
- Package
- Bodu.Security.Cryptography 1.3.0
- Source
- TransformMode.cs
Defines the direction of a cryptographic transformation.
public enum TransformMode
- Extension Methods
Fields
Encrypt = 0Indicates that the transform should encrypt plaintext into ciphertext.
Decrypt = 1Indicates that the transform should decrypt ciphertext into plaintext.
Remarks
Reserved: no public member of this library consumes it. The transform contracts express the direction otherwise - Transform(ReadOnlySpan<byte>, Span<byte>, bool) takes a bool, and the stream ciphers are self-inverse.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |