Friday, November 28, 2008
Encryption and Decryption in PHP
Kathiravan Manoharan
5:37:00 PM
base64
,
Decode
,
Decryption
,
Encode
,
Encryption
,
PHP
,
Security
No comments
:
Keywords: PHP, base64, Encode, Decode, Encryption, Decryption, SecurityFind below the way you could encrypt and decrypt your strings in PHP:-
<?php
$str = 'This is an encoded string';
echo "Encoded String: ". base64_encode($str);
$str = base64_encode($str);
echo "Decoded String: ". base64_decode($str);
?>
Keywords: PHP, base64, Encode, Decode, Encryption, Decryption, Security
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment