Skip to content

Commit

Permalink
[doc] append remark of setHashOf
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Mar 21, 2024
1 parent 27cc346 commit 166f83c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ T::setHashOf(const void *msg, size_t msgSize);
- always return 0
- use SHA-256 if sizeof(*x) <= 256 else SHA-512
- set according to the same way as `setLittleEndian`.
- This is a function for backward compatibility only. Do not use it.

### map `x` to G1 / G2.
```
Expand Down

0 comments on commit 166f83c

Please sign in to comment.