| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Simplex.FileTransfer.Crypto
Documentation
encryptFile :: CryptoFile -> ByteString -> SbKey -> CbNonce -> Int64 -> Int64 -> FilePath -> ExceptT FTCryptoError IO () Source #
decryptChunks :: Int64 -> [FilePath] -> SbKey -> CbNonce -> (Text -> ExceptT String IO CryptoFile) -> ExceptT FTCryptoError IO CryptoFile Source #
readChunks :: [FilePath] -> IO ByteString Source #