Safe Haskell | Safe-Infered |
---|
SSH.Sender
Documentation
data SenderState Source
Constructors
NoKeys | |
Fields
| |
GotKeys | |
Fields
|
data SenderMessage Source
Constructors
Prepare Cipher ByteString ByteString HMAC | |
StartEncrypting | |
Send ByteString | |
Stop |
sender :: Chan SenderMessage -> SenderState -> IO ()Source
encrypt :: Cipher -> ByteString -> ByteString -> ByteString -> (ByteString, ByteString)Source