MCPcopy Index your code
hub / github.com/dcodeIO/bcrypt.js / encodeBase64

Function encodeBase64

index.js:1131–1133  ·  view source on GitHub ↗
(bytes, length)

Source from the content-addressed store, hash-verified

1129 * @returns {string}
1130 */
1131export function encodeBase64(bytes, length) {
1132 return base64_encode(bytes, length);
1133}
1134
1135/**
1136 * Decodes a base64 encoded string to up to len bytes of output, using the custom bcrypt alphabet.

Callers

nothing calls this directly

Calls 1

base64_encodeFunction · 0.85

Tested by

no test coverage detected