logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

strrot13 - encrypt or decrypt string using rot13

Author

       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib                                        C Programmer's Manual                               STRROT13(3pub)

Description

strrot13  converts  the  argument string using rot13, i.e., it replaces each letter a with n, n with a, b
       with o, o with b, and so on.  Converting twice results in the original string.  Non-letter characters are
       not converted.

       The rot13 encryption method is used commonly on USENET to hide offensive text, or spoilers in discussions
       about movies or books, or in other similar occasions.

Name

       strrot13 - encrypt or decrypt string using rot13

Return Value

strrot13 returns its argument.

See Also

publib(3), crypt(3)

Synopsis

       #include <publib.h>
       char *strrot13(char *str);

See Also