STRROT13(3pub)
π STRROT13 π
okay bestie, welcome to the strrot13 page from the Publib C Programmer's Manual (that's the <publib.h> girlies, iykyk) π
β¨ NAME β¨
strrot13 β encrypt or decrypt a string using rot13 π¦
πΈ SYNOPSIS πΈ
#include <publib.h>
char *strrot13(char *str);
π DESCRIPTION π
So strrot13 takes your argument string and converts it using rot13, which is literally just: every letter gets swapped with the one 13 places down the alphabet. So a becomes n, n becomes a, b becomes o, o becomes b, and so on and so on forever π«
The way that converting it twice just gives you back the original string? Iconic. Chef's kiss. It's its own inverse, no cap π
Non-letter characters are simply not converted. They stay exactly as they are. They said "not my job" and honestly, respect π
And why does anyone even use this? 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. So if you ever see a wall of gibberish in a newsgroup, that's the vibe β it's giving "I don't want to spoil you but also I need to yell about this" π
π«Ά RETURN VALUE π«Ά
strrot13 returns its argument. That's it. It hands you back the very same pointer you gave it, all glowed up (or un-glowed up, depending on how you look at it) β¨
π SEE ALSO π
π AUTHOR π
Lars Wirzenius (lars.wirzenius@helsinki.fi) β the main character who brought us this π
and that's the whole page, bestie!! this lil masterpiece lives in the Publib C Programmer's Manual, filed under STRROT13(3pub) β mwah, slay, periodt ππ§β
π¦ where this page comes from
- debian bookworm: publib-dev 0.40-3+b1 Β· BSD-2-Clause
- debian trixie: publib-dev 0.40-4 Β· BSD-2-Clause
- ubuntu jammy: publib-dev 0.40-3build1 Β· BSD-2-Clause
- ubuntu noble: publib-dev 0.40-3build1 Β· BSD-2-Clause
- ubuntu questing: publib-dev 0.40-4
- ubuntu resolute: publib-dev 0.40-4build1 Β· BSD-2-Clause
- ubuntu stonking: publib-dev 0.40-4build1 Β· BSD-2-Clause
- Copyright (c) 1994-2006 Lars Wirzenius. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms