simplexmq-6.5.0.16: SimpleXMQ message broker
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 #