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