1#!/bin/bash
2
3sizes="512 4K 1M 10000000 272629760"
4for size in $sizes; do
5  echo $size
6  dd if=/dev/random of=input.$size bs=$size count=1
7  fsverity digest input.$size \
8    --hash-alg=sha256 \
9    --salt=010203040506 \
10    --block-size=4096 \
11    --out-merkle-tree input.$size.hash \
12    --out-descriptor input.$size.descriptor
13done
14