iancoleman / bip39

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

About the algorithms ?? #176

Closed silence-may closed 6 years ago

silence-may commented 6 years ago

Excuse me, What is the difference between the algorithms that generate the address between different currencies? I will be looking forward to your reply,thanks!

iancoleman commented 6 years ago

There are different parameters for each network that set the encoding of addresses and keys. You can see an example of those parameters in bitcoinsj-extensions.js.

The underlying mechanism is ECDSA.

Note that ethereum and ripple have slightly different mechanisms for their addresses. The code for this is in index.js L826-841. But again it's all ECDSA underneath.