Generate a human-readable passphrase from random dictionary words.
Number of words to include (default 4).
4
A hyphen-separated passphrase, e.g. 'tiger-lamp-cloud-seven'.
'tiger-lamp-cloud-seven'
Used as the Gun.js SEA encryption key displayed to players via QR code so they don't need to type a hex string.
const passphrase = generatePassphrase() // 'ember-kite-coral-prism'const short = generatePassphrase(2) // 'jade-drift' Copy
const passphrase = generatePassphrase() // 'ember-kite-coral-prism'const short = generatePassphrase(2) // 'jade-drift'
Generate a human-readable passphrase from random dictionary words.