1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-17 02:58:05 -05:00
Simon Tatham de47ec2f5f cryptsuite.py: shorter idiom for base64 decoding.
These days, the base64 module has 'b64decode', which can tolerate a
str or a bytes as input. Switched to using that, and also, imported it
under a nice short name 'b64'.

In the process, removed the obsolete equivocation between
base64.decodebytes and base64.decodestring. That was there to cope
with Python 2 - but the assert statement right next to it has been
enforcing P3 since commit 2ec2b796ed24cb5 two years ago!
2022-04-24 08:38:27 +01:00
..
2021-08-27 18:04:49 +01:00
2021-05-09 09:06:12 +01:00