repo.or.cz
/
tinyapps.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[tpwd] Fix segfault when exactly one argument given
[tinyapps.git]
/
rot13.c
blob
6113961377168dae005fb4bf7b7e4bad9a9de9f9
1
/*
2
* Encrypts message using ROT13
3
* Released to Public Domain
4
*
5
* This is part of Tiny Applications Collection
6
* -> http://tinyapps.sourceforge.net/
7
*/
8
9
#include <stdio.h>
10
main
(
a
){
while
(
a
=~
getchar
())
putchar
(~
a
-
1
/(~(
a
|
32
)/
13
*
2
-
11
)*
13
);}