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: src/content/api/loaders.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -393,25 +393,25 @@ module.exports = function (source) {
393
393
394
394
`string`
395
395
396
-
The algorithm used for the hash.
396
+
The encoding to use when generating the hash. See [output.hashDigest](/configuration/output/#outputhashdigest).
397
397
398
398
### this.hashDigestLength
399
399
400
400
`number`
401
401
402
-
The length of the hash.
402
+
The prefix length of the hash digest to use. See [output.hashDigestLength](/configuration/output/#outputhashdigestlength).
403
403
404
404
### this.hashFunction
405
405
406
-
`string`
406
+
`string``function`
407
407
408
-
The hash function used.
408
+
The hashing algorithm to use. See [output.hashFunction](/configuration/output/#outputhashfunction).
409
409
410
410
### this.hashSalt
411
411
412
412
`string`
413
413
414
-
The salt used for the hash.
414
+
An optional salt to update the hash via Node.JS' [`hash.update`](https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding). See [output.hashSalt](/configuration/output/#outputhashsalt).
0 commit comments