public class CryptoException extends Exception:
Exception raised when a cryptographic operation cannot be completed.
This includes unsupported algorithms, invalid encodings, malformed keys, authentication tag mismatches and low-level runtime/provider errors.
import klyn.cryptography
try:
Hex.decodeToText("xyz")
catch ex as CryptoException:
print(ex.message)| Modifier and Type | Member | Description |
|---|---|---|
| public | CryptoExceptionCryptoException(message as String = ""): |
Creates a new cryptography exception. |