3v4l.org

run code in 300+ PHP versions simultaneously
<?php function rot13encrypt ($str) { return str_rot13(base64_encode($str)); } function rot13decrypt ($str) { return base64_decode(str_rot13($str)); } // example $string = 'root'; $encrypted = rot13encrypt ($string); echo $encrypted;

preferences:
44.86 ms | 402 KiB | 5 Q