Quantex.KEM.XWing
data XWing Source #
Defined in Quantex.KEM.XWing
Associated Types
Methods
scheme :: Proxy XWing -> Scheme #
keypairFrom :: Seed XWing -> (PublicKey XWing, SecretKey XWing) #
encapsFrom :: EncapsSeed XWing -> PublicKey XWing -> (Ciphertext XWing, SharedSecret) #
decaps :: SecretKey XWing -> Ciphertext XWing -> SharedSecret #
keypair :: IO (PublicKey XWing, SecretKey XWing) #
encaps :: PublicKey XWing -> IO (Ciphertext XWing, SharedSecret) #
checkPublic :: Proxy XWing -> ByteString -> Bool #
checkSecret :: Proxy XWing -> ByteString -> Bool #