MeowNex/cc/sc-encode
swee 39bb76f3a5
All checks were successful
Check syntax / check (push) Successful in 7s
Update cc/sc-encode
2024-12-24 16:11:30 -08:00

7 lines
No EOL
202 B
Python

#!/usr/bin/python3
import sweecrypt
from sys import argv
if argv[3][:2] == "-s":
print(sweecrypt.encrypt(" ".join(argv[4:]), int(argv[3][2:])))
else:
print(sweecrypt.encrypt(" ".join(argv[3:])))