Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLocationHash ¶
func CreateLocationHash(encryptedData []byte) multihash.Multihash
func CreateMessageHash ¶
func CreateMessageHash(encodedData []byte) multihash.Multihash
CreateMessageHash used to verify if the contents of the message match the hash.
Types ¶
type PrivateKey ¶
type PrivateKey interface {
// Bytes returns the byte representation of the private key
Bytes() []byte
// PublicKey from the PrivateKey
PublicKey() PublicKey
}
PrivateKey definition usable in all mailchain crypto operations
Directories
¶
| Path | Synopsis |
|---|---|
|
aes256cbc
package aes256cbc Advanced Encryption Standard, with a 256 bit key length, operating in the Chain Block Cipher mode (AES-256-CBC).
|
package aes256cbc Advanced Encryption Standard, with a 256 bit key length, operating in the Chain Block Cipher mode (AES-256-CBC). |
|
ciphertest
Package ciphertest is a generated GoMock package.
|
Package ciphertest is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.