mirror of
https://github.com/monero-project/monero-site.git
synced 2024-11-18 00:38:02 +00:00
Merge pull request #117 from antanst/master
Small changes in Moneropedia -> Payment ID
This commit is contained in:
commit
cd4976b532
1 changed files with 6 additions and 7 deletions
|
@ -13,14 +13,13 @@ The Payment ID is usually used to identify transactions to merchants and exchang
|
|||
|
||||
### Compact Payment ID's and Integrated Addresses
|
||||
|
||||
Since the 0.9 Hydrogen Helix version, the Payment IDs can be encrypted and embedded in a payment address. The payment ID's of this type should be 64-bits.
|
||||
Since the 0.9 Hydrogen Helix version, the Payment IDs can be encrypted and embedded in a payment address. The payment ID's of this type should be 64-bits and are encrypted with a random one-time key known only to the sender and receiver.
|
||||
|
||||
### Creating a Payment ID
|
||||
One can create a Payment ID quickly from the command line using OpenSSL:
|
||||
It is recommented to use the official wallet's `integrated_address` command to automatically generate Integrated Addresses that contain Compact Payment ID's. If you want to use the command line, you can generate Payment ID's as follows:
|
||||
|
||||
Creating a compact Payment ID for an Integrated Address:
|
||||
```# openssl rand 8 -hex```
|
||||
|
||||
Creating an old-style Payment ID:
|
||||
```# openssl rand 32 -hex```
|
||||
|
||||
or
|
||||
|
||||
```# openssl rand 8 -hex``` to get a PaymentID for an Integrated Address.
|
||||
|
||||
|
|
Loading…
Reference in a new issue