CryptoException
class in package klyn.cryptography

    public class CryptoException extends Exception:

Object
└ 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)

Inherited Properties
property Inherited Properties from Exception: message
property Inherited Properties from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | CryptoException `CryptoException(message as String = ""):` | Creates a new cryptography exception.

Inherited Methods
method Inherited Methods from Exception: toString
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml