On Sat, Feb 7, 2015 at 4:14 PM, <mhr1...@gmail.com> wrote: > encrypted massage is like this: > "@\xc4\xb2\x14r\xf1x\xb8\xb2\t;\x9a:\x1dl\x11\xe2\x10\xa9E\xee\x8b\xac\xd0\xd3Y\xfb}\xd9@\xdd\x0c\xa5\xd2\xfc1\xd6\x06\xf0\xb8\x944\xe1\xc2r\xe5anyq\xac\xdfh\xeb\x10\x80\x98\xa1\xee'\xe6hpi" > > and i know it should be like this: > SEcPB1mYNrfeE4zP4RI3z2K4Rh9HDNfPhuF28IyxHFjEOJ9Z+1zdIwPF0jsJGQDJyKpAju7dcYueHHXXeH8d+w== > > How can i change the format of this?
That looks like Base 64 encoded text, which you can easily produce from Python. But that isn't the base-64 encoded version of the above binary blob. Are you asking how to base-64 something, or are you specifically expecting that output? ChrisA -- https://mail.python.org/mailman/listinfo/python-list