Skip to content

an openssl codeignitor library to encrypt and decrypt alternative for mycrypt

Notifications You must be signed in to change notification settings

didinkaj/Codeignitor-encrypt-and-decrypt-with-openssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Codeignitor-encrypt-and-decrypt-with-openssl tested with codeignitor 3.*

an openssl codeignitor library to encrypt and decrypt alternative for mycrypt

put this class in your application/libraries folder

load it in your controller

public function __construct() {
  
 		 $this -> load -> library('Opensslencryptdecrypt');	
  
 	 }

usage in class function

$encrptopenssl =  New Opensslencryptdecrypt();

$plain_txt = "this is awsome";

$testenc = $encrptopenssl->encrypt($plain_txt);  //encypting plain text

$testdec = $encrptopenssl->decrypt($testenc);    //decrypting plain texx

About

an openssl codeignitor library to encrypt and decrypt alternative for mycrypt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages