String type

* the plain text string must be bytes and not unicode.
* Expect most of the example code to have similar issues at present.
This commit is contained in:
Ben McGinnes 2015-05-09 04:53:46 +10:00
parent ebd8734ad7
commit 90079786c5

View File

@ -25,7 +25,7 @@ core.check_version(None)
# Set up our input and output buffers.
plain = core.Data('This is my message.')
plain = core.Data(b'This is my message.')
cipher = core.Data()
# Initialize our context.