Copyright | (c) Leo D 2023 |
---|---|
License | BSD-3-Clause |
Maintainer | leo@apotheca.io |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- pkDecrypt :: PrivKey -> PKPadding -> ByteString -> Maybe ByteString
- pkDecryptOutputLength :: PrivKey -> PKPadding -> Int -> Int
- type PKDecrypt = Decrypt
- destroyPKDecrypt :: MonadIO m => PKDecrypt -> m ()
- newPKDecrypt :: MonadIO m => PrivKey -> PKPadding -> m PKDecrypt
- getPKDecryptOutputLength :: MonadIO m => PKDecrypt -> Int -> m Int
- pkDecryptWith :: MonadIO m => PKDecrypt -> ByteString -> m ByteString
Thing
Usage
Public Key Decryption
pkDecrypt :: PrivKey -> PKPadding -> ByteString -> Maybe ByteString Source #
Mutable interface
Data type
Destructor
destroyPKDecrypt :: MonadIO m => PKDecrypt -> m () Source #
Initializers
Accessors
Algorithm
pkDecryptWith :: MonadIO m => PKDecrypt -> ByteString -> m ByteString Source #