Maintainer | John Galt <jgalt@centromere.net> |
---|---|
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
- type MessagePipe = Pipe ByteString ByteString
- messageEncryptPipe :: Cipher c => MVar (SendingCipherState c) -> MessagePipe IO r
- messageDecryptPipe :: Cipher c => MVar (ReceivingCipherState c) -> MessagePipe IO r
Types
type MessagePipe = Pipe ByteString ByteString Source
Message pipes transform ByteStrings.
Pipes
messageEncryptPipe :: Cipher c => MVar (SendingCipherState c) -> MessagePipe IO r Source
Creates a new MessagePipe
exclusively for encryption.
messageDecryptPipe :: Cipher c => MVar (ReceivingCipherState c) -> MessagePipe IO r Source
Creates a new MessagePipe
exclusively for decryption.