Skip to content

Commit

Permalink
Typos, use non-module name
Browse files Browse the repository at this point in the history
  • Loading branch information
richchurcher committed Feb 5, 2017
1 parent 16122f9 commit 2ce68c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/generichash.md
@@ -1,12 +1,12 @@
Note the [Generic Hashing](https://download.libsodium.org/doc/hashing/generic_hashing.html) of the libsodium documentation, on which this document heavily depends.
Note the [Generic Hashing](https://download.libsodium.org/doc/hashing/generic_hashing.html) section of the libsodium documentation, on which this document heavily depends.

Implemented using BLAKE2b. This function set should not be used to hash passwords. Use `crypto_pwhash` instead.


crypto_generichash(out_size, in, key)
-------------------------------------

Compute a fixed length fingerprint for a message of arbitrary length. Use cases include file integrity checks (fulfilling a similar role to MD5 and SHA-1, but with better security) and creating unique identifiers to index data of aribtrary length.
Compute a fixed length fingerprint for a message of arbitrary length. Use cases include file integrity checks (fulfilling a similar role to MD5 and SHA-1, but with better security) and creating unique identifiers to index data of arbitrary length.

**Parameters**

Expand Down Expand Up @@ -110,5 +110,5 @@ Recommended length of key, in bytes. Note that key can also be `null`, which lea
Note
----

node-sodium also exposes `crypto_generichash_blake2b`, `crypto_generichash_blake2b_init`, `crypto_generichash_blake2b_update`, and `crypto_generichash_blake2b_final`. In the interests of brevity these are not separately documented, but their usage and parameters are identical (with the exception of constant naming: see above list).
Node Sodium also exposes `crypto_generichash_blake2b`, `crypto_generichash_blake2b_init`, `crypto_generichash_blake2b_update`, and `crypto_generichash_blake2b_final`. In the interests of brevity these are not separately documented, but their usage and parameters are identical (with the exception of constant naming: see above list).

0 comments on commit 2ce68c3

Please sign in to comment.