diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2018-12-18 11:05:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2018-12-18 11:05:49 +0000 |
commit | cada1143501a48effc483e3873596c22849926b5 (patch) | |
tree | 93a1da95d69b69328a1e7d3621447797f65137c9 /libparc/parc/security/test/README.symmetric | |
parent | 726949d76a7207694d5a1eee84ef134a8e539115 (diff) | |
parent | a45edf23c2463ac9a4723a24792a6c5c89b1e021 (diff) |
Merge "Adding gitreview config file for this branch sub project"
Diffstat (limited to 'libparc/parc/security/test/README.symmetric')
-rw-r--r-- | libparc/parc/security/test/README.symmetric | 9 |
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 + + |