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:
parent
ebd8734ad7
commit
90079786c5
@ -25,7 +25,7 @@ core.check_version(None)
|
|||||||
|
|
||||||
# Set up our input and output buffers.
|
# 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()
|
cipher = core.Data()
|
||||||
|
|
||||||
# Initialize our context.
|
# Initialize our context.
|
||||||
|
Loading…
Reference in New Issue
Block a user