ciphers.rot13

Functions

dencrypt(→ str)

https://en.wikipedia.org/wiki/ROT13

main(→ None)

Module Contents

ciphers.rot13.dencrypt(s: str, n: int = 13) str

https://en.wikipedia.org/wiki/ROT13

>>> msg = "My secret bank account number is 173-52946 so don't tell anyone!!"
>>> s = dencrypt(msg)
>>> s
"Zl frperg onax nppbhag ahzore vf 173-52946 fb qba'g gryy nalbar!!"
>>> dencrypt(s) == msg
True
ciphers.rot13.main() None