UNPKG

@abdellatif.dev/cryptjs

Version:

a JavaScript/TypeScript library that brings cryptographic functionality from Dart to the web

15 lines (14 loc) 705 B
/** * @description Encodes 3 bytes into base64 encoding and appends the result to the StringBuffer. * @param {StringBuffer} result The StringBuffer where the result will be appended. * @param {number} c The first byte to be encoded. * @param {number} [b] The second byte to be encoded (optional). * @param {number} [a] The third byte to be encoded (optional). * @returns {void} returns nothing */ export function encode3Bytes(result: StringBuffer, c: number, b?: number | undefined, a?: number | undefined): void; /** * @description base64 chars */ export const base64EncodingChars: "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; import StringBuffer from "./StringBuffer";