MCPcopy Index your code
hub / github.com/nodejs/node / getSaltLength

Function getSaltLength

lib/internal/crypto/sig.js:88–94  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

86}
87
88function getSaltLength(options) {
89 let saltLength = getIntOption('saltLength', options);
90 if (options.padding === constants.RSA_PKCS1_PSS_PADDING && saltLength === undefined) {
91 saltLength = constants.RSA_PSS_SALTLEN_MAX_SIGN;
92 }
93 return saltLength;
94}
95
96function getDSASignatureEncoding(options) {
97 if (typeof options === 'object') {

Callers 3

sig.jsFile · 0.85
signOneShotFunction · 0.85
verifyOneShotFunction · 0.85

Calls 1

getIntOptionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…