Skip to content

Commit b45922e

Browse files
authored
Merge pull request #2844 from ckeshava/fixDefaultCryptoAlg
fix: Document the default crypto algorithm in client libraries
2 parents fde485b + 070e688 commit b45922e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/concepts/accounts/cryptographic-keys.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ To make a digital signature, you use a cryptographic key pair associated with th
1919

2020
Many [client libraries](../../references/client-libraries.md) and applications can generate a key pair suitable for use with the XRP Ledger. However, you should only use key pairs that were generated with devices and software you trust. Compromised applications can expose your secret to malicious users who can then send transactions from your account later.
2121

22+
Note: Different tools have different defaults. Many client libraries (such as xrpl.js) use Ed25519 as the default cryptographic algorithm, but `rippled`'s [wallet_propose](../../references/http-websocket-apis/admin-api-methods/key-generation-methods/wallet_propose) admin RPC command uses secp256k1 as the default. This means that you may get a different address if you instantiate a wallet from the same seed using a different tool, unless you specify the algorithm explicitly.
23+
2224

2325
## Key Components
2426

0 commit comments

Comments
 (0)