rust-secp256k1-unsafe-fast/examples
Tobin C. Harding cd40ae7f19
Improve Message constructors
Observe:

- The word "hash" can be a verb or a noun, its usage in function names
  is therefore at times ambiguous.
- The function name `from_slice` gives no indication as to what the
  slice input is.

Improve Message constructors by doing:

- Add a constructor `Message::from_digest` that takes a 32 byte array as
  input.
- Rename `Message::from_slice` to `Message::from_digest_slice`
  (deprecate `from_slice` and add `from_digest_slice`)
- Improve the docs while we are at it.
2023-08-10 08:20:46 +10:00
..
generate_keys.rs Fix feature gating 2022-11-18 10:14:41 +11:00
sign_verify.rs Improve Message constructors 2023-08-10 08:20:46 +10:00
sign_verify_recovery.rs Improve Message constructors 2023-08-10 08:20:46 +10:00