Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
I guess I had too much of `BaseField` while writing the README.
  • Loading branch information
skaunov authored Nov 24, 2023
1 parent 3b9bc0b commit 4fa1ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
This Noir `lib` is for hashing to a curve bigger than your backend base field (currently default seems to be Grumkin). If you want to hash to a smaller curve it would be more reasonable to leverage `std` library facilities.
This Noir `lib` is for hashing to a curve bigger than your backend field (currently default seems to be Grumkin). If you want to hash to a smaller curve it would be more reasonable to leverage `std` library facilities.

Exposes standard interface, consisting of: **`hash_to_curve`, `map_to_curve`, and `hash_to_field`**.

Currently limited to `secp256k1_XMD:SHA-256_SSWU_RO_` with _DST shorter than 256_. \
Other suites and features will be added upon demand.

If [the hasher] in your app is used for other purposes or shared -- pay attention to [Domain Separation Variants](https://www.rfc-editor.org/rfc/rfc9380.html#name-domain-separation-for-expan).
[the hasher]: w.r.t. current limitations it's <https://noir-lang.org/dev/standard_library/cryptographic_primitives/hashes#sha256>
[the hasher]: w.r.t. current limitations it's <https://noir-lang.org/dev/standard_library/cryptographic_primitives/hashes#sha256>

0 comments on commit 4fa1ab3

Please sign in to comment.