Expand description
Webcash types and serialization
This module contains the core Webcash data structures:
SecretWebcash: Contains the secret value and amountPublicWebcash: Contains the public hash and amount
Both types support serialization to/from the standard Webcash string format.
Structs§
- Public
Webcash - Public Webcash containing the hash of the secret
- Secret
Webcash - Secret Webcash containing the actual secret value
- Secure
String - Secure string type for sensitive data with zeroize-on-drop