UNPKG

boho

Version:

Secure Lightweight Encryption & Authentication Library for Node.js, Browsers and Arduino.

38 lines (34 loc) 1.03 kB
// Copyright (c) 2024 Taeo Lee (sixgen@gmail.com) // MIT License // // https://github.com/remocons/boho // // // import { Boho, RAND, BohoMsg, Meta, MetaSize, sha256, MBP, Buffer } from './boho.js' Boho.RAND = RAND; Boho.BohoMsg = BohoMsg; Boho.Meta = Meta; Boho.MetaSize = MetaSize; Boho.sha256 = sha256; Boho.MBP = MBP; Boho.Buffer = Buffer; /** * Main entry point of the boho library * @module boho */ /** * @typedef {import('./boho.js').Boho} Boho * @typedef {import('./boho.js').RAND} RAND * @typedef {import('./boho.js').BohoMsg} BohoMsg * @typedef {import('./boho.js').Meta} Meta * @typedef {import('./boho.js').MetaSize} MetaSize * @typedef {import('./boho.js').sha256} sha256 * @typedef {import('./boho.js').MBP} MBP * @typedef {import('./boho.js').Buffer} Buffer */ /** * Default export object of boho * @type {Boho & { RAND: typeof RAND, BohoMsg: typeof BohoMsg, Meta: typeof Meta, MetaSize: typeof MetaSize, sha256: typeof sha256, MBP: typeof MBP, Buffer: typeof Buffer }} */ export default Boho;