Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{ $text := lower (reReplace `\d+` (joinStr " " .CmdArgs) "") }} {{ $cipher := "" }}
- {{ range seq 0 (len $text) }}
- {{ $ctext := index $text . }}
- {{ if and (le $ctext 109) (not (eq $ctext 32) ) }}
- {{ $ctext = add $ctext 13 }}
- {{ else if eq $ctext 32 }}
- {{ $ctext = 32 }}
- {{ else }}
- {{ $ctext = sub $ctext 13 }}
- {{ end }}
- {{ $cipher = joinStr "" $cipher (printf "%c" $ctext) }}
- {{ end }}
- {{ $cipher }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement