DeterministicEncryption..::..TryEncrypt Method
Tries to encrypt the given byte array.
Namespace:
Walter.CypherAssembly: Walter.Cypher (in Walter.Cypher.dll)
Syntax
Parameters
- clearBytes
- Type: array<Byte>[]()[][]
The clear bytes to encrypt.
Return Value
true if encryption and hash computation succeed; false otherwise.Exceptions
Exception | Condition |
---|---|
Exception | Thrown when no ILogger is provided and an exception occurs during encryption. |