Directories ¶
Path | Synopsis |
---|---|
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
Click to show internal directories.
Click to hide internal directories.