View Code? Open in Web Editor
NEW
WebAssembly port of Ed25519 signatures and X25519 key exchange
License: The Unlicense
TypeScript 73.37%
Rust 26.63%
berith's Introduction
Projects I'm currently working on
Brume Wallet / The private Ethereum wallet with built-in Tor (+100 daily users)
DStorage / Origin-agnostic storage for your dapp
Network / An anonymous PoW token to monetize the web
Cubane / Next-gen Ethereum library for TypeScript
Glacier / Keep your data fresh (+120 ⭐)
Brume Wallet / The private Ethereum wallet with built-in Tor (+100 daily users)
DStorage / Origin-agnostic storage for your dapp
Sighash / Decentralized Ethereum function signature database
Glacier / Keep your data fresh (+120 ⭐)
Chemin / Create infinite virtual subpaths for your React webapp
CloseContext / CloseContext provides a close(force?)
function to React
Cubane / Next-gen Ethereum library for TypeScript
Ledger / Private and supply-chain hardened Ledger controller for TypeScript
Latrine / Secure and private reimplementation of the WalletConnect protocol
Saumon / Ultra simple macro system for TypeScript
Phobos / Modern and minimalist testing library for the web
Deimos / Modern and minimalist benchmarking library for the web
My Next.js tooling libraries
Echalote / Zero-copy Tor protocol for the web (JS + WebAssembly)
Cadenas / Zero-copy TLS protocol for the web (JS + WebAssembly)
Fleche / Zero-copy HTTP protocol for the web (JS + WebAssembly)
KCP / Zero-copy KCP protocol for the web
SMUX / Zero-copy SMUX protocol for the web
X509 / Zero-copy X.509 certificates for the web
ASN1 / Zero-copy ASN.1 <=> DER encoding for the web
My JavaScript utility libraries
Bytes / Utilities to deal with Uint8Array
Signals / Utilities to deal with AbortSignal
Arrays / Utilities to deal with arrays
Cascade / Never let streams give you a headache again
Bitset / Utilities to deal with arithmetic bitwise operations
Future / Just like a Promise but you can manually resolve or reject it
Disposer / A wrapper for an object with a dispose function
Result / Rust-like Result for TypeScript
Option / Rust-like Option for TypeScript
Cursor / Rust-like Cursor for TypeScript
Mutex / Rust-like Mutex and Semaphore for TypeScript
Box / Rust-like Box for TypeScript
JSON-RPC / Rust-like JSON-RPC protocol for TypeScript
APDU / Rust-like APDU protocol for TypeScript
Binary / Zero-copy binary data types
Piscine / Create async pools with automatic retry
Plume / Typed async events with sequenced and parallel dispatching
Rimraf / Minimalist and supply-chain hardened rimraf
Decibel / Queriable in-memory database for TypeScript
WebAuthnStorage / Deterministic storage using WebAuthn
Naberius / WebAssembly bits processing utilities (unpack, pack, xor)
Foras / WebAssembly port of Deflate, Gzip, and Zlib compression algorithms (+110 ⭐)
Berith / WebAssembly port of Ed25519 signatures and X25519 key exchange
Paimon / WebAssembly port of RSA encryption and signatures
Zepar / WebAssembly port of Aes128Ctr128Be and ChaCha20Poly1305 encryption algorithms
Morax / WebAssembly port of SHA-1, SHA-256, Keccak-256, RIPEMD-160, and CRC-32 hashing algorithms
Alocer / WebAssembly port of Base64, Base64URL, Base16, and Base58 encoding algorithms
Eligos / WebAssembly port of Secp256k1 signatures and key exchange
Ed25519 / Ed25519 adapter for WebAssembly and JS implementations
X25519 / X25519 adapter for WebAssembly and JS implementations
Sha1 / SHA-1 adapter for WebAssembly and JS implementations
Keccak256 / Keccak-256 adapter for WebAssembly and JS implementations
Base16 / Base16 adapter for WebAssembly and JS implementations
Base64 / Base64 adapter for WebAssembly and JS implementations
Base64URL / Base64URL adapter for WebAssembly and JS implementations
Base58 / Base58 adapter for WebAssembly and JS implementations
Secp256k1 / Secp256k1 adapter for WebAssembly and JS implementations
ChaCha20Poly1305 / ChaCha20Poly1305 adapter for WebAssembly and JS implementations
Ripemd160 / RIPEMD-160 adapter for WebAssembly and JS implementations
ethabi.wasm / Fast Ethereum ABI encoder/decoder for Deno, written in Rust
AES-CFB for Deno / Fast AES-CFB encryption for Deno, written in Rust
My Ethereum related projects
Sweet IPFS / IPFS node monitoring for Android & ChromeOS (+80 ⭐)
Kheyboard / El Risitas stickers keyboard for Android
Deno / A secure JavaScript and TypeScript runtime
berith's People
Contributors
berith's Issues
I am really having a hard time reading your Deno docs. Can you please provide and example of how to import it from the CDN without having to GIT download anything? I just need a simple import example.
Thank you!
First call of ed25519 does table precomputation. That's why it takes 30ms and not 1ms.
You can do it manually: ed.utils.precompute(8)
or just call getPublicKey
once somewhere else.
I think it makes sense to move it out of benchmarks to initialization. After all, you don't measure wasm init time.