๐Ÿ” CryptoUtils

Standalone Cryptocurrency Utilities Library v

Dependencies: sjcl.js โ†’ crypto_utils.js
Test phrase: army van defense carry jealous true garbage claim echo media make crunch
Repository: github.com/bitrequest/crypto-utils-js

๐Ÿงช Automated Unit Tests

๐Ÿ› ๏ธ Interactive Tools

Private Key โ†’ Public Key (secp256k1)

Select a coin to auto-fill the private key derived from the test seed phrase

Public Key โ†’ Address

Public Key โ†’ Ethereum Address

Pre-filled with public key derived from the test mnemonic phrase

Public Key โ†’ Bitcoin Cash Address

Pre-filled with public key derived from the test mnemonic phrase

Private Key โ†’ WIF (Wallet Import Format)

Hex โ†” Bytes Conversion

Base58 Encoding/Decoding

Base58Check (with checksum)

Bech32 Encoding/Decoding

Hash Functions

AES-GCM Encryption/Decryption

Password is padded/trimmed to 16 bytes and converted to base64 for AES-128

LNURL (Lightning Network)

Address โ†’ Script Hash (Electrum format)

String Utilities (BIP39 helpers)

Hex โ†” Number Conversion

Modular Arithmetic (secp256k1)

Uses secp256k1 prime P = 2ยฒโตโถ - 2ยณยฒ - 977