1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00
nix/doc/manual/source/protocols/json/hash.md
John Ericson 5e7ee808de nlohmann::json instance and JSON Schema for Hash
Improving and codifying our experimental JSON interfacing.

Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
2025-10-20 15:21:07 -04:00

502 B

{{#include hash-v1-fixed.md}}

Examples

SHA-256 with Base64 encoding

{{#include schema/hash-v1/sha256-base64.json}}

SHA-256 with Base16 (hexadecimal) encoding

{{#include schema/hash-v1/sha256-base16.json}}

SHA-256 with Nix32 encoding

{{#include schema/hash-v1/sha256-nix32.json}}

BLAKE3 with Base64 encoding

{{#include schema/hash-v1/blake3-base64.json}}