Versions in this module Expand all Collapse all v0 v0.0.3 Sep 30, 2020 v0.0.2 Sep 30, 2020 Changes in this version + func CalculateSharedSecret(theirKey, ourKey [32]byte) [32]byte + func DeriveSecrets(inputKeyMaterial, salt, info []byte, outputLength int) ([]byte, error) + type HKDF func(inputKeyMaterial, salt, info []byte, outputLength int) ([]byte, error) + type KeyMaterial struct + CipherKey []byte + IV []byte + MacKey []byte