Web Jassi

 



PHP: str_rot13 (how to decode this encryption)

Tags: , , , , , , , , , ,

About str_rot13 encryption

string str_rot13 ( string $str )

Performs the ROT13 encoding on the str argument and returns the resulting string.

str_rot13 encryption simply shifts every alphabet by 13 places, and does not make any change to non-alpha phplogocharacters. The encode and decode in this encryption is done by the same function. If the encoded string is passed through the same function, it will give you the output in original version.

Parameters

str (This is the input string)

Return Values

Returns the ROT13 version of the given string.

Examples

Example #1 str_rot13() example

<?php

echo str_rot13('PHP 4.3.0'); // CUC 4.3.0

?>

Changelog

Version Description
4.3.0 The behaviour of this function was fixed. Before this fix, the str was also modified, as if it was passed by reference.

Now we know how str_rot13 encryption works, lets explore mostly what it is used for:

Mostly it is use to protect complete/partial php code so it cannot be edited. Widely it is used in Most of the wordpress themes(Mostly in the footer). since i also encountered this problem. so i created a way to decode this shit of str_rot13.

here is the decoder for this encrytion, STR_ROT13 DECODER

ENJOY!!!

  • Share/Bookmark
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
Use OpenDNS
Creative Commons License
Web Jassi by Jaspreet Singh is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 India License.
Permissions beyond the scope of this license may be available at http://www.webjassi.com/contact.

© 2009 Web Jassi. All Rights Reserved.
This blog is powered by the Wordpress