Skip to content

Commit 7702f10

Browse files
committed
docs: pedersen -> poseidon2
1 parent dd702d0 commit 7702f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ assert(["a", "b", "c"].enumerate() == [(0, "a"), (1, "b"), (2, "c")]);
196196

197197
### `pack_bytes`
198198

199-
Packs `[u8; N]` into `[Field; N / 31 + 1]`. Useful, if you need to get a hash over bytes. I.e., `pedersen_hash(pack_bytes(bytes))` will be MUCH cheaper than `pedersen_hash(bytes)`.
199+
Packs `[u8; N]` into `[Field; N / 31 + 1]`. Useful, if you need to get a hash over bytes. I.e., `nodash::poseidon2(nodash::pack_bytes(bytes))` will be MUCH cheaper than `nodash::poseidon2(bytes)`.
200200

201201
```rs
202202
use nodash::pack_bytes;

0 commit comments

Comments
 (0)