fuel-crypto
fuel-crypto copied to clipboard
Fuel cryptographic primitives.
https://github.com/FuelLabs/sway/pull/3201#discussion_r1008932356
Related discussion can be found https://github.com/FuelLabs/sway/pull/3201#discussion_r1008932356
This PR builds upon #26 and @vlopes11's comment to actually make WASM builds of `fuel-crypto` meaningfully usable. It requires reorganization of code in `#[cfg(feature = "std")]` blocks, as WASM is...
All of these new-type passthrough methods (Deref, AsRef, Into, From, LowerHex, UpperHex, etc) could be automatically generated using the [derive_more](https://jeltef.github.io/derive_more/derive_more/) crate. > it supports no_std out of the box _Originally...
To simplify the initial implementation, we are using a plain recover for the verify operation. However, `recover` is more expensive than `verify`. After https://github.com/FuelLabs/fuel-crypto/issues/3 , we should compare the performance...
Currently we use raw uncompressed 64 bytes. To get 32 bytes, we hash the affine representation of the point. However, we might be able to store the 32 bytes in...
This seems quite costly to exhaustively fuzz the entire search space every test run. Using prop-tests we could randomly sample the distribution on each test run and easily track which...