mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 20:16:03 +01:00
Improving and codifying our experimental JSON interfacing. Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
33 lines
502 B
Markdown
33 lines
502 B
Markdown
{{#include hash-v1-fixed.md}}
|
|
|
|
## Examples
|
|
|
|
### SHA-256 with Base64 encoding
|
|
|
|
```json
|
|
{{#include schema/hash-v1/sha256-base64.json}}
|
|
```
|
|
|
|
### SHA-256 with Base16 (hexadecimal) encoding
|
|
|
|
```json
|
|
{{#include schema/hash-v1/sha256-base16.json}}
|
|
```
|
|
|
|
### SHA-256 with Nix32 encoding
|
|
|
|
```json
|
|
{{#include schema/hash-v1/sha256-nix32.json}}
|
|
```
|
|
|
|
### BLAKE3 with Base64 encoding
|
|
|
|
```json
|
|
{{#include schema/hash-v1/blake3-base64.json}}
|
|
```
|
|
|
|
<!--
|
|
## Raw Schema
|
|
|
|
[JSON Schema for Hash v1](schema/hash-v1.json)
|
|
-->
|