ZXFoundation™ 26h2
Loading...
Searching...
No Matches
lib::crypto_error Namespace Referenceexport

Cryptographic operation error codes. More...

Enumerations

enum  lib::crypto_error::code : u32 { none = 0 , lib::crypto_error::invalid_input = 1 , lib::crypto_error::hash_mismatch = 2 , lib::crypto_error::verification_failed = 3 }

Detailed Description

Cryptographic operation error codes.

Enumeration Type Documentation

◆ code

enum lib::crypto_error::code : u32
export
Enumerator
invalid_input 

Input data is malformed.

hash_mismatch 

Computed hash does not match expected.

verification_failed 

Signature or checksum verification failed.