Directories ¶
Path | Synopsis |
---|---|
crypto
|
|
ciph
Package ciph manages encryption ciphers and encrypting blobs of data.
|
Package ciph manages encryption ciphers and encrypting blobs of data. |
key/cloak
Package cloak provides a cover for the public keys for which a node has a private key that prevents matching the keys between one message and another.
|
Package cloak provides a cover for the public keys for which a node has a private key that prevents matching the keys between one message and another. |
key/ecdh
Package ecdh is provides a function to take a secp256k1 public and private key pair to generate a shared secret that the corresponding opposite half from the counterparty can use to generate the same cipher.
|
Package ecdh is provides a function to take a secp256k1 public and private key pair to generate a shared secret that the corresponding opposite half from the counterparty can use to generate the same cipher. |
key/prv
Package prv is a wrapper around secp256k1 library from the Decred project to handle, generate and serialise secp256k1 private keys.
|
Package prv is a wrapper around secp256k1 library from the Decred project to handle, generate and serialise secp256k1 private keys. |
key/pub
Package pub is a wrapper around secp256k1 library from the Decred project to handle generate and serialise secp256k1 public keys, including deriving them from private keys.
|
Package pub is a wrapper around secp256k1 library from the Decred project to handle generate and serialise secp256k1 public keys, including deriving them from private keys. |
key/sig
Package sig provides functions to Sign hashes of messages, generating a standard compact 65 byte Signature and recover the 33 byte pub.Key embedded in it.
|
Package sig provides functions to Sign hashes of messages, generating a standard compact 65 byte Signature and recover the 33 byte pub.Key embedded in it. |
key/signer
Package signer is an implementation of an efficient method for generating new private keys for putting a unique ECDH cipher half on every single message segment and eliminating correlations in the ciphertexts of the messages.
|
Package signer is an implementation of an efficient method for generating new private keys for putting a unique ECDH cipher half on every single message segment and eliminating correlations in the ciphertexts of the messages. |
nonce
Package nonce provides a simple interface for generating standard AES encryption nonces that give strong cryptographic entropy to message encryption.
|
Package nonce provides a simple interface for generating standard AES encryption nonces that give strong cryptographic entropy to message encryption. |
sha256
Package sha256 provides a simple interface for single and double SHA256 hashes, used with secp256k1 signatures, message digest checksums, cloaked public key "addresses" and so on.
|
Package sha256 provides a simple interface for single and double SHA256 hashes, used with secp256k1 signatures, message digest checksums, cloaked public key "addresses" and so on. |
key
|
|
Package node maintains information about peers on the network and associated connection sessions.
|
Package node maintains information about peers on the network and associated connection sessions. |
Package onion contains the functions required to generate onion packets and unwrap them one layer at a time.
|
Package onion contains the functions required to generate onion packets and unwrap them one layer at a time. |
p2p
|
|
Package packet provides a standard message binary serialised data format and message segmentation scheme which includes address.Sender cloaked public key and address.Receiver private keys for generating a shared cipher and applying to messages/message segments.
|
Package packet provides a standard message binary serialised data format and message segmentation scheme which includes address.Sender cloaked public key and address.Receiver private keys for generating a shared cipher and applying to messages/message segments. |
proc
|
|
util
|
|
slice
Package slice is a collection of miscellaneous functions involving slices of bytes, including little-endian encoding for 16, 32 and 64-bit unsigned integers used for serialisation length prefixes and system entropy based hash chain padding.
|
Package slice is a collection of miscellaneous functions involving slices of bytes, including little-endian encoding for 16, 32 and 64-bit unsigned integers used for serialisation length prefixes and system entropy based hash chain padding. |
Click to show internal directories.
Click to hide internal directories.