Mercurial > p > roundup > code
view tools/base64 @ 4276:0c024cf74252
Correct initial- and end-handshakes for SSL
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Wed, 14 Oct 2009 10:06:49 +0000 |
| parents | 740102dfad1d |
| children | c75defc1c2f0 |
line wrap: on
line source
#!/usr/bin/env python import zlib, base64, sys print base64.encodestring(zlib.compress(sys.stdin.read()))
