Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
keyAgreementToPK :: KeyAgreement -> PK Source #
type KAPublicKey = ByteString Source #
type KASharedSecret = ByteString Source #
deriveKeyAgreementSharedSecret :: KeyAgreement -> KAPublicKey -> ByteString -> IO KASharedSecret Source #
keyAgreement :: PrivKey -> KAPublicKey -> KDF -> ByteString -> IO KASharedSecret Source #
type ECDHPub = ByteString Source #