Update ROT_13_EASY.md

This commit is contained in:
Marina 2014-10-07 14:04:27 -04:00
parent 914b8deb62
commit b2447582cc

View File

@ -1,4 +1,10 @@
```
VAR=$(cat data.txt)
echo "$VAR"
alias rot13="tr A-Za-z N-ZA-Mn-za-m"
echo "$VAR" | rot13
```
In Python we can use: ```"YRIRY GJB CNFFJBEQ EBGGRA".decode(encoding="ROT13")```
https://docs.python.org/2/library/codecs.html#codec-base-classes