Monday, October 19, 2015

ROT13 Encoding

As I was trying to solve the problem of rotating the alphabet 13 characters I figured there had to be a better way of doing this. After some googling, I found out in the Python codecs module, a rot13 encoding function was in place.



By utilizing the build in codec, I was able to make my code compact and well organized. This also solved the problem of creating decryption code as well due to the way the rot-13 code works.

No comments:

Post a Comment