Skip to content

Commit

Permalink
wording tweak in the C readme
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663-zoom committed Aug 26, 2020
1 parent adbf07d commit c8a5b53
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,11 @@ void blake3_hasher_init_derive_key(
Initialize a `blake3_hasher` in the key derivation mode. Key material
should be given as input after initialization, using
`blake3_hasher_update`. `context` is a standard C string of any length,
and the terminating null byte is not included. The context string should
be hardcoded, globally unique, and application-specific. A good default
format for the context string is `"[application] [commit timestamp]
[purpose]"`, e.g., `"example.com 2019-12-25 16:18:03 session tokens
v1"`.
`blake3_hasher_update`. `context` is a standard null-terminated C string
of any length. The context string should be hardcoded, globally unique,
and application-specific. A good default format for the context string
is `"[application] [commit timestamp] [purpose]"`, e.g., `"example.com
2019-12-25 16:18:03 session tokens v1"`.
```c
void blake3_hasher_finalize_seek(
Expand Down

0 comments on commit c8a5b53

Please sign in to comment.