Added simple ROT13 command
This commit is contained in:
parent
a45d470363
commit
a16b1776f8
1 changed files with 6 additions and 0 deletions
|
@ -35,3 +35,9 @@ def decypher(inp):
|
||||||
passwd = inp.split(" ")[0]
|
passwd = inp.split(" ")[0]
|
||||||
inp = " ".join(inp.split(" ")[1:])
|
inp = " ".join(inp.split(" ")[1:])
|
||||||
return decode(passwd,inp)
|
return decode(passwd,inp)
|
||||||
|
|
||||||
|
|
||||||
|
@hook.command
|
||||||
|
def rot13(inp):
|
||||||
|
"""rot13 <string> -- Encode <string> with rot13."""
|
||||||
|
return inp.encode('rot13')
|
||||||
|
|
Reference in a new issue