diff options
author | Robert Newson <rnewson@apache.org> | 2012-12-30 23:59:43 +0000 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2012-12-31 00:00:30 +0000 |
commit | 0d6fba2e6bcc3c7ec9fc436efc6b8a129523e3ae (patch) | |
tree | 57c544f9756ea9b9669cdc70bda0e304e0601d61 | |
parent | 666b95becbdeba5cb9c517733c60f2b41975d2b1 (diff) | |
download | couchdb-0d6fba2e6bcc3c7ec9fc436efc6b8a129523e3ae.tar.gz |
fix pbkdf2 spec
-rw-r--r-- | src/couchdb/couch_passwords.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_passwords.erl b/src/couchdb/couch_passwords.erl index 57e51930e..d9e6836db 100644 --- a/src/couchdb/couch_passwords.erl +++ b/src/couchdb/couch_passwords.erl @@ -49,7 +49,7 @@ get_unhashed_admins() -> couch_config:get("admins")). %% Current scheme, much stronger. --spec pbkdf2(binary(), binary(), integer()) -> string(). +-spec pbkdf2(binary(), binary(), integer()) -> binary(). pbkdf2(Password, Salt, Iterations) -> {ok, Result} = pbkdf2(Password, Salt, Iterations, ?SHA1_OUTPUT_LENGTH), Result. |