ConstReadonlyINVALID_KEY: "INVALID_KEY"The provided key has an invalid length or format.
ReadonlyUNSUPPORTED_ALGORITHM: "UNSUPPORTED_ALGORITHM"The algorithm is not supported.
ReadonlyINVALID_HEX: "INVALID_HEX"The hex string is malformed.
ReadonlyINVALID_CIPHERTEXT: "INVALID_CIPHERTEXT"The ciphertext is too short or corrupted.
ReadonlyAUTH_FAILED: "AUTH_FAILED"Authentication tag verification failed.
ReadonlyBUFFER_DESTROYED: "BUFFER_DESTROYED"The buffer has been destroyed and cannot be accessed.
ReadonlyINVALID_INPUT: "INVALID_INPUT"A required parameter is missing or invalid.
ReadonlyINVALID_TOKEN: "INVALID_TOKEN"A token is malformed, expired, not yet valid or issued in the future.
ReadonlyINVALID_STATE: "INVALID_STATE"The operation is not possible in the object's current state.
ReadonlyCONFIGURATION: "CONFIGURATION"crypto-lib's environment is configured wrongly (not the caller's input).
Error codes used by crypto-lib.