diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-03-01 12:18:27 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-03-01 12:18:27 -0800 |
commit | 75e72ea9772dd3ae54bc1386f074370d43e356b8 (patch) | |
tree | 12a9768c80efeb8ab1ea291266b8bb8c622f27b8 /tests/hazmat/primitives/vectors | |
parent | e5dadb2d3c6c0e7062dc73f8a50aa6f7b457b64f (diff) | |
download | cryptography-75e72ea9772dd3ae54bc1386f074370d43e356b8.tar.gz cryptography-75e72ea9772dd3ae54bc1386f074370d43e356b8.tar.bz2 cryptography-75e72ea9772dd3ae54bc1386f074370d43e356b8.zip |
Added vectors for scrypt from the draft RFC
Diffstat (limited to 'tests/hazmat/primitives/vectors')
-rw-r--r-- | tests/hazmat/primitives/vectors/KDF/scrypt.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/vectors/KDF/scrypt.txt b/tests/hazmat/primitives/vectors/KDF/scrypt.txt new file mode 100644 index 00000000..ad0dfc83 --- /dev/null +++ b/tests/hazmat/primitives/vectors/KDF/scrypt.txt @@ -0,0 +1,38 @@ +COUNT = 0 +PASSWORD = +SALT = +N = 16 +r = 1 +p = 1 +LENGTH = 64 +DERIVED_KEY = 77d6576238657b203b19ca42c18a0497f16b4844e3074ae8dfdffa3fede21442fcd0069ded0948f8326a753a0fc81f17e8d3e0fb2e0d3628cf35e20c38d18906 + + +COUNT = 1 +PASSWORD = password +SALT = NaCl +N = 1024 +r = 8 +p = 16 +LENGTH = 64 +DERIVED_KEY = fdbabe1c9d3472007856e7190d01e9fe7c6ad7cbc8237830e77376634b3731622eaf30d92e22a3886ff109279d9830dac727afb94a83ee6d8360cbdfa2cc0640 + + +COUNT = 2 +PASSWORD = pleaseletmein +SALT = SodiumChloride +N = 16384 +r = 8 +p = 1 +LENGTH = 64 +DERIVED_KEY = 7023bdcb3afd7348461c06cd81fd38ebfda8fbba904f8e3ea9b543f6545da1f2d5432955613f0fcf62d49705242a9af9e61e85dc0d651e40dfcf017b45575887 + + +COUNT = 3 +PASSWORD = pleaseletmein +SALT = SodiumChloride +N = 1048576 +r = 8 +p = 1 +LENGTH = 64 +DERIVED_KEY = 2101cb9b6a511aaeaddbbe09cf70f881ec568d574a2ffd4dabe5ee9820adaa478e56fd8f4ba5d09ffa1c6d927c40f4c337304049e8a952fbcbf45c6fa77a41a4 |