/** * @name base64 * @namespace shared.crypto * @type Object * @platform js * @status stable * * Expose two function named "encrypt" and "decrypt" that you can use to process your content using the base64 algorithm * * @snippet __base64.encrypt($1) * * @example js * import { __base64 } from '@lotsof/sugar/crypto'; * __base64.encrypt('hello world'); * * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ declare const _default: { /** * @name encrypt * @type Function * * Encrypt * * @param {String} message The message to encrypt * @return {String} The encrypted message * * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ encrypt: (message: any) => any; /** * @name decrypt * @type Function * * Decrypt * * @param {String} message The message to decrypt * @return {String} The decrypted message * * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ decrypt: (message: any) => any; }; export default _default;