Copyright | (c) Leo D 2023 |
---|---|
License | BSD-3-Clause |
Maintainer | leo@apotheca.io |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- pkEncrypt :: PubKey -> PKPadding -> ByteString -> Maybe ByteString
- pkEncryptOutputLength :: PubKey -> PKPadding -> Int -> Int
- type PKEncrypt = Encrypt
- destroyPKEncrypt :: MonadIO m => PKEncrypt -> m ()
- newPKEncrypt :: MonadIO m => PubKey -> PKPadding -> m PKEncrypt
- getPKEncryptOutputLength :: MonadIO m => PKEncrypt -> Int -> m Int
- pkEncryptWith :: MonadRandomIO m => PKEncrypt -> ByteString -> m ByteString
Thing
Usage
Public Key Encryption
pkEncrypt :: PubKey -> PKPadding -> ByteString -> Maybe ByteString Source #
Data type
Destructor
destroyPKEncrypt :: MonadIO m => PKEncrypt -> m () Source #
Initializers
Accessors
Algorithm
pkEncryptWith :: MonadRandomIO m => PKEncrypt -> ByteString -> m ByteString Source #