CryptoException
classin packageklyn.cryptography
public class CryptoException extends Exception:
└ CryptoException
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)
Properties inherited from Exception: message
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public CryptoException
CryptoException(message as String = ""):
Creates a new cryptography exception.
Methods inherited from Exception: toString
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml