Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
STRROT13(3)		     C Programmer's Manual		   STRROT13(3)

NAME
       strrot13	- encrypt or decrypt string using rot13

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

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.	  Con-
       verting	twice  results	in the original	string.	 Non-letter characters
       are not converted.

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

RETURN VALUE
       strrot13	returns	its argument.

SEE ALSO
       publib(3), crypt(3)

AUTHOR
       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib			     C Programmer's Manual		   STRROT13(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=strrot13&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help