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)
Inherited Properties
propertyInherited Properties from Exception: message
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public CryptoException
CryptoException(message as String = "")
Creates a new cryptography exception.
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml