cacophony-0.10.0: A library implementing the Noise protocol.
Crypto.Noise.DH.Curve448
Contents
Description
Synopsis
data Curve448 Source #
Represents curve448.
Instances
Associated Types
data PublicKey Curve448 :: * Source #
data SecretKey Curve448 :: * Source #
Methods
dhName :: proxy Curve448 -> ScrubbedBytes Source #
dhLength :: proxy Curve448 -> Int Source #
dhGenKey :: IO (KeyPair Curve448) Source #
dhPerform :: SecretKey Curve448 -> PublicKey Curve448 -> ScrubbedBytes Source #
dhPubToBytes :: PublicKey Curve448 -> ScrubbedBytes Source #
dhBytesToPub :: ScrubbedBytes -> Maybe (PublicKey Curve448) Source #
dhSecToBytes :: SecretKey Curve448 -> ScrubbedBytes Source #
dhBytesToPair :: ScrubbedBytes -> Maybe (KeyPair Curve448) Source #
dhPubEq :: PublicKey Curve448 -> PublicKey Curve448 -> Bool Source #