mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-01-22 13:27:17 +01:00
update readme
This commit is contained in:
parent
398f2a1fe4
commit
e0caac60de
37
README.md
37
README.md
|
@ -12,7 +12,44 @@ Notice: git submodules are used so make sure to clone this repository recursivel
|
|||
|
||||
Generate an i2p private key
|
||||
|
||||
#### Usage
|
||||
|
||||
Make a DSA-SHA1 destination key
|
||||
|
||||
./keygen privkey.dat
|
||||
|
||||
Make an destination key with a certain key type
|
||||
|
||||
./keygen privkey.dat <number>
|
||||
|
||||
|
||||
| key type | number |
|
||||
| -------------------- | ------ |
|
||||
| DSA SHA1 | 0 |
|
||||
| ECDSA_SHA256_P256 | 1 |
|
||||
| ECDSA_SHA384_P384 | 2 |
|
||||
| ECDSA_SHA512_P521 | 3 |
|
||||
| RSA_SHA256_2048 | 4 |
|
||||
| RSA_SHA384_3072 | 5 |
|
||||
| RSA_SHA512_4096 | 6 |
|
||||
| EDDSA_SHA512_ED25519 | 7 |
|
||||
|
||||
|
||||
|
||||
### keyinfo
|
||||
|
||||
Prints information about an i2p private key
|
||||
|
||||
#### Usage
|
||||
|
||||
Print just the b32 address for this key
|
||||
|
||||
./keyinfo privatekey.dat
|
||||
|
||||
... just the base64 address
|
||||
|
||||
./keyinfo -d privatekey.dat
|
||||
|
||||
Print all info about the public key
|
||||
|
||||
./keyinfo -v privatekey.dat
|
||||
|
|
Loading…
Reference in a new issue