2 Commits

Author SHA1 Message Date
Wilson Silva
04574cc836
Be more informative when the signature has an invalid type 2024-04-13 14:12:12 +01:00
Wilson Silva
01010c763f
Allow the verification of signatures and events
Added the methods:
- Event#verify_signature
- Crypto#check_sig!
- Crypto#valid_sig?
- Crypto#sign_message

Fixed a primitive obsession by introducing a Signature class to ensure that signatures are valid Nostr signatures.
2024-03-15 19:13:33 +00:00