PHP Encrypt/Decrypt: Simple class to encrypt url data

Author: Zeeshan Rasool  |  Jun 27, 2010 Codeigniter, PHP, Web Development

Encryption is useful where critical data is being transferred in url. I have found a simple and secure encryption class with some changes to make it fit for new users. You can use it in Codeigniter websites as well. Just copy it in application/libraries directory and use it in other libraries style.
Here is the code for encryption class.

You need to include this class any where in to make your data encrypted with simple encode() or decode() functions.
If you are using it in Codeigniter then use like this

Recommended WordPress Themes Stores



If you enjoyed this post, please consider leaving a comment below or subscribing to the RSS feed to have future articles delivered to your feed reader. You can also follow us on Facebook or Twitter @99Points

This awesome post has been created by 99Points editor's team. You can follow our updates on Twitter and facebook, OR drop an email at 99points.info@gmail.com

  • atomxml

    Thank you. 🙂

  • Converter Bangla

    Available For PHP Script Encoder, ByteRun Decoder, Base64 Encoder, Base64 Decoder, JS Compressor, CSS Compressor, Image Base64, JS Dcompressor, CSS Dcompressor, HTML Dcompressor, Code D-Organizer.

    http://www.encript.co

  • suga priya

    Thank you so much

  • Engin

    I’ve been struggling for the last 2 hours just to find a simple encryption code and none of them worked except yours. Thank you very much!

  • titto vedder

    Hi, master, how to implementing this code in codeigniter 3 ?



Email Subscriber!

Be the first to know about new updates


Author of 99Points
Zeeshan Rasool is an experienced PHP Web Developer and founder at 99Points. Expert in Codeigniter (MVC), WordPress, JSON, jQuery & HTML5
 LinkedIn Profile  About.me


Advertisement




Friends


Categories


Popular post