Crypto Module
3 min

API Reference | |
|---|---|
NPM Package | |
CDN URL | |
IIFE namespace | sig$crypto |
Installation
<script src='https://cdn.jsdelivr.net/npm/@signumjs/crypto/dist/signumjs.crypto.min.js'></script>
<!-- namespace is sig$crypto -->
<script >
const keys = sig$crypto.generateMasterKeys(seed)
// ...
</script>Basic Usage
The crypto module provides a bunch of cryptographic functions used in Signum, i.e.
- Key Generation
- Passphrase/Seed Generation
- AES Encryption for P2P Messaging
- Transaction Signing and Verification
((seed)=> {
const keys = sig$crypto.generateMasterKeys(seed)
console.table('keys', keys)
})('SomeRandomSeed')