juanelas
Convert to/from BigInt from/to Buffer, ArrayBuffer, hex string, utf8-encoded text string.
published 2.4.3 a year agoArbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing. It works in modern browsers, Angular, React, Node.js, etc. since it uses the native JS implementation of BigInt
published 3.3.0 a year agoSome common functions for modular arithmetic using native JS implementation of BigInt
published 3.3.1 a year agoCryptographically secure random numbers and prime generation/testing using native JS (stage 3) implementation of BigInt
published 1.2.5 6 years agoEasy to use aes-gcm cipher for node.js and browser.
published 1.1.0 a year agoBase64 for both node.js and browser javascript. It supports URL-safe encoding and enabling/disabling padding. Buffers can be implementedd using ArrayBuffer, any TypedArray, or Buffer
published 1.1.5 a year agoCompute solidity types from an arbitrary JS object so that we can use eth_signTypedData (EIP-712) with arbitrary objects
published 1.0.1 4 months agoMarkdown to standalone HTML converter. It generates a standalone HTML with all CSS and images embedded, browsable responsible TOC, math support (KATEX), code syntax highlighting (highlight.js), and rendering of lyrics with chords
published 2.1.1 2 years agoA package to perform SHA hash functions over arbitrary objects. It creates an array of the obejct values ordered by the object keys, the stringify it and then hash it. The output is given in a hexadecimal string
published 2.1.1 2 years agoAn implementation of the Paillier cryptosystem using native JS (ECMA 2020) implementation of BigInt
published 3.4.3 a year agoAn implementation of the Paillier cryptosystem relying on bignum
published 1.2.2 5 years agoA pure Javascript implementation of the Paillier cryptosystem. THIS PROJECT IS NO LONGER MAINTAINED. Consider switching to paillier-bigint that it is a pure JS native implementation and will work with both Node.js and Browsers, and not just Node.js
published 0.9.3 5 years agoPBKDF2 with HMAC (with SHA-1, SHA-256, SHA-384 or SHA-512) as the PRF function for Node.js and browsers.
published 1.2.1 2 years agoA faster JS implementation of the scrypt password-based key derivation function
published 1.1.1 2 years ago