]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
crypto: passphrase hashing with Argon2
authorJoe Richey <joerichey@google.com>
Fri, 3 Mar 2017 01:32:50 +0000 (17:32 -0800)
committerJoe Richey joerichey@google.com <joerichey@google.com>
Tue, 2 May 2017 20:39:18 +0000 (13:39 -0700)
commit3f9c09b1e0901248c96c47e392a2888c40b2f182
treeabdf39c4db24c9b44826ab1838b609d4463ffb8d
parentee10adc91e79bca395a6b069797a99863fc957dd
crypto: passphrase hashing with Argon2

This commit adds in the PassphraseHash function which hashes the
provided passphrase (in key form) using Argon2id. This cost parameters
for Argon2id and that salt are both fed into the function. It also
includes tests and benchmarks for the passphrase hashing.

Change-Id: I060db3e71213c756d45ce5603a0a59d3d7a1e609
README.md
crypto/crypto.go
crypto/crypto_test.go