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
The internal implementation already preferentially forwards to the
encoder module, so we should just remove these functions as they confuse
people into thinking that we don't have their inverses (see the feature
request #2907).
Update the docs to refer to the encoder version and add deprecation
warnings to the runtime implementations.
@@ -82,11 +82,11 @@ Compute a cryptographic hash of a a file.
82
82
-`filename` the path to the file to hash
83
83
84
84
#### Returns
85
-
A binary string containing the message digest. To obtain the textual version (ASCII hex characters), please use [`crypto.toHex()`](#cryptotohex).
85
+
A binary string containing the message digest. To obtain the textual version (ASCII hex characters), please use [`encoder.toHex()`](encoder.md#encodertohex).
@@ -101,11 +101,11 @@ Compute a cryptographic hash of a Lua string.
101
101
`str` string to hash contents of
102
102
103
103
#### Returns
104
-
A binary string containing the message digest. To obtain the textual version (ASCII hex characters), please use [`crypto.toHex()`](#cryptotohex).
104
+
A binary string containing the message digest. To obtain the textual version (ASCII hex characters), please use [`encoder.toHex()`](encoder.md#encodertohex).
0 commit comments