Documentation ¶
Index ¶
- func CompressPublicKey(keyToCompress []byte) []byte
- func CreateV2Aad(datatype datatypes.Datatype, ephemeralPublicKey, appPublicKey []byte) (bytes.Buffer, error)
- func DeriveKDFAESKey(publicKey, sharedECDHSecret []byte) ([]byte, error)
- func EncryptValue(aesKey, ephemeralPublicKey, appPublicKey []byte, value, role string, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressPublicKey ¶
CompressPublicKey compresses the given public key.
func CreateV2Aad ¶ added in v1.2.0
func DeriveKDFAESKey ¶
DeriveKDFAESKey derives an AES key using the given public key and shared ECDH secret.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.