Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 596 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 596 Bytes

SecretHandshake For Crouton

These source files let you use the SecretHandshake protocol (see parent directory) with the awesome Crouton coroutine & I/O library.

  • The SecretHandshake class simply runs the handshake over a Crouton IStream.
  • SecretHandshakeStream is an IStream subclass that wraps another stream, typically from a TCPSocket, and transparently runs the handshake and then encrypts/decrypts traffic.

They're both pretty easy to use. See shsCroutonTests.cc for an example.