Skip to content

Commit 7fd2125

Browse files
committed
Add BLAKE3 to documentation
1 parent 1f56ea4 commit 7fd2125

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

doc/manual/source/command-ref/nix-hash.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ md5sum`.
6767
- `--type` *hashAlgo*
6868

6969
Use the specified cryptographic hash algorithm, which can be one of
70-
`md5`, `sha1`, `sha256`, and `sha512`.
70+
`blake3`, `md5`, `sha1`, `sha256`, and `sha512`.
7171

7272
- `--to-base16`
7373

doc/manual/source/command-ref/nix-prefetch-url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ the path of the downloaded file in the Nix store is also printed.
4242
- `--type` *hashAlgo*
4343

4444
Use the specified cryptographic hash algorithm,
45-
which can be one of `md5`, `sha1`, `sha256`, and `sha512`.
45+
which can be one of `blake3`, `md5`, `sha1`, `sha256`, and `sha512`.
4646
The default is `sha256`.
4747

4848
- `--print-path`

doc/manual/source/language/advanced-attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Derivations can declare some infrequently used optional attributes.
192192
The [`convertHash`](@docroot@/language/builtins.md#builtins-convertHash) function shows how to convert between different encodings, and the [`nix-hash` command](../command-ref/nix-hash.md) has information about obtaining the hash for some contents, as well as converting to and from encodings.
193193
194194
The `outputHashAlgo` attribute specifies the hash algorithm used to compute the hash.
195-
It can currently be `"sha1"`, `"sha256"`, `"sha512"`, or `null`.
195+
It can currently be `"blake3", "sha1"`, `"sha256"`, `"sha512"`, or `null`.
196196
`outputHashAlgo` can only be `null` when `outputHash` follows the SRI format.
197197
198198
The `outputHashMode` attribute determines how the hash is computed.

doc/manual/source/protocols/json/derivation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ is a JSON object with the following fields:
3838
For an output which will be [content addresed], the name of the hash algorithm used.
3939
Valid algorithm strings are:
4040

41+
- `blake3`
4142
- `md5`
4243
- `sha1`
4344
- `sha256`

0 commit comments

Comments
 (0)