iancoleman / bip39

A web tool for converting BIP39 mnemonic codes
https://iancoleman.io/bip39/
MIT License
3.41k stars 1.42k forks source link

const values in generateRandomPhrase prevent vulnerabilities #633

Open st3b1t opened 1 year ago

st3b1t commented 1 year ago

const prevents the variable to be re-assigned to another value. Prevents any vulnerabilities or code errors