Pierre Krieger d94fe1b831 Use a Multihash in AddrComponent::P2P, drop cid (#407)
* Use a Multihash in AddrComponent::P2P
* Remove the cid crate from the repo
2018-08-10 17:47:02 +02:00
..
2018-07-17 16:31:32 +02:00
2018-07-17 16:31:32 +02:00
2018-07-17 16:31:32 +02:00
2018-08-06 17:16:27 +02:00
2018-07-16 12:15:27 +02:00

How the keys were generated

The keys used in the examples were generated like this:

openssl genrsa -out private.pem 2048
openssl rsa -in private.pem -outform DER -pubout -out public.der
openssl pkcs8 -in private.pem -topk8 -nocrypt -out private.pk8
rm private.pem      # optional