rust-secp256k1-unsafe-fast/src
Tobin C. Harding 3d1ce0d261
Truncate secret hash using precision
Currently we are attempting to truncate the hash created using
`bitcoin_hashes` by using the "width" formatting parameter instead of
the "precision" parameter. `hex-conservative` truncates with the
"precision" parameter as is expected since a hash is not an integral
type.

Use the formatting string `"{:.16}"` which is the "precision"
formatting parameter.
2024-08-23 09:19:19 +10:00
..
ecdsa Bump MSRV to 1.63 2024-07-24 18:12:08 +02:00
constants.rs Create rust-bidings 2023-10-09 14:57:54 -03:00
context.rs Bump MSRV to 1.63 2024-07-24 18:12:08 +02:00
ecdh.rs Bump MSRV to 1.63 2024-07-24 18:12:08 +02:00
ellswift.rs Add byte accessors to `ElligatorSwiftSharedSecret` 2024-01-30 17:01:23 +01:00
key.rs Use `hex_lit::hex` in tests 2024-07-28 09:13:20 +02:00
lib.rs Improve the comment on `Message::from_digest` 2024-07-28 20:35:38 +02:00
macros.rs Introduce SPDX license identifiers 2023-05-03 11:37:07 +10:00
scalar.rs Bump MSRV to 1.63 2024-07-24 18:12:08 +02:00
schnorr.rs Bump MSRV to 1.63 2024-07-24 18:12:08 +02:00
secret.rs Truncate secret hash using precision 2024-08-23 09:19:19 +10:00
serde_util.rs Introduce SPDX license identifiers 2023-05-03 11:37:07 +10:00