Skip to main content

Module webcash

Module webcash 

Source
Expand description

Webcash types and serialization

This module contains the core Webcash data structures:

  • SecretWebcash: Contains the secret value and amount
  • PublicWebcash: Contains the public hash and amount

Both types support serialization to/from the standard Webcash string format.

Structs§

PublicWebcash
Public Webcash containing the hash of the secret
SecretWebcash
Secret Webcash containing the actual secret value
SecureString
Secure string type for sensitive data with zeroize-on-drop