diff options
author | Hans Nilsson <[email protected]> | 2018-08-15 11:47:52 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-08-23 12:45:29 +0200 |
commit | e647193db8c0781dafb965f6ba5c050dfb50fd42 (patch) | |
tree | e90f1ee84ddefe419a4166be3529217401bd18c0 /lib/crypto/src | |
parent | 13afdc0c72121ca26e6dd8d9a41502218d5c04ae (diff) | |
download | otp-e647193db8c0781dafb965f6ba5c050dfb50fd42.tar.gz otp-e647193db8c0781dafb965f6ba5c050dfb50fd42.tar.bz2 otp-e647193db8c0781dafb965f6ba5c050dfb50fd42.zip |
crypto: doc SHA3 (hash & hmac)
Diffstat (limited to 'lib/crypto/src')
-rw-r--r-- | lib/crypto/src/crypto.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl index 81ab4e5ea1..c788e890a8 100644 --- a/lib/crypto/src/crypto.erl +++ b/lib/crypto/src/crypto.erl @@ -142,7 +142,8 @@ hash(Hash, Data0) -> hash(Hash, Data, erlang:byte_size(Data), MaxBytes). -spec hash_init('md5'|'md4'|'ripemd160'| - 'sha'|'sha224'|'sha256'|'sha384'|'sha512') -> any(). + 'sha'|'sha224'|'sha256'|'sha384'|'sha512'| + 'sha3_224' | 'sha3_256' | 'sha3_384' | 'sha3_512') -> any(). hash_init(Hash) -> notsup_to_error(hash_init_nif(Hash)). |