You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.markdown
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ For more information, see [this discussion](https://github.com/puleos/object-has
31
31
## hash(value, options);
32
32
Generate a hash from any object or type. Defaults to sha1 with hex encoding.
33
33
*`algorithm` hash algo to be used: 'sha1', 'md5'. default: sha1
34
+
* This supports the algorithms returned by `crypto.getHashes()`. Note that the default of SHA-1 is not considered secure, and a stronger algorithm should be used if a cryptographical hash is desired.
0 commit comments