aboutsummaryrefslogtreecommitdiffstats
path: root/libparc/parc/security/test/README.symmetric
blob: ce09fe85835b8fe25660f030a6872753a0747efa (plain)
1
2
3
4
5
6
7
8
9
# random bytes as a 32-byte (256-bit) key

dd if=/dev/random of=test_symmetric_key.bin bs=32 count=1

# compute its sha-256 hash
openssl sha256 -binary -out test_symmetric_key.sha256 < test_symmetric_key.bin