You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add blake3 as a registered/supported hash algorithm.
Motivations for this PR:
1. Blake3 is a high performance hash and there is growing community
interest
2. Blake3 is variable output but mandate 256-bit output
Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com>
Please see [Registered Algorithms](#registered-algorithms) for a list of registered algorithms.
100
101
@@ -161,6 +162,11 @@ Implementations MAY implement SHA-512 digest verification for use in descriptors
161
162
When the _algorithm identifier_ is `sha512`, the _encoded_ portion MUST match `/[a-f0-9]{128}/`.
162
163
Note that `[A-F]` MUST NOT be used here.
163
164
165
+
#### BLAKE3
166
+
167
+
[BLAKE3][blake3] is a high performance, highly parallelizable, collision-resistant hash function which [is more performant][blake3-vs-sha2] than
168
+
[SHA-256][rfc4634-s4.1]. The hash output length MUST be 256 bits.
169
+
164
170
## Embedded Content
165
171
166
172
In many contexts, such as when downloading content over a network, resolving a descriptor to its content has a measurable fixed "roundtrip" latency cost.
@@ -220,3 +226,5 @@ In the following example, the descriptor indicates the type of artifact it is re
0 commit comments