summaryrefslogtreecommitdiffstats
path: root/libparc/parc/security/test/README.symmetric
diff options
context:
space:
mode:
Diffstat (limited to 'libparc/parc/security/test/README.symmetric')
-rw-r--r--libparc/parc/security/test/README.symmetric9
1 files changed, 9 insertions, 0 deletions
diff --git a/libparc/parc/security/test/README.symmetric b/libparc/parc/security/test/README.symmetric
new file mode 100644
index 00000000..ce09fe85
--- /dev/null
+++ b/libparc/parc/security/test/README.symmetric
@@ -0,0 +1,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
+
+