CriptoPHP

on . Publicado en Programación

Really Simple PHP class for a secure way for php files encryption and decryption.
 

Descargar

 
¿How to use it?
 
Use this script for encrypt your php code
 
You can have this class as API in other server
 
1. Encrypt your php files to cphp
 
2. Create an API with this class and your encrypted php classes. You can use the php class protector
 
3. If you like MVC create a controller with a view and call your classes via your API. You will GET the response functions protected.
 
4. If you dont want touch API server, send your cphp files to de API server. API server will decrypt and execute your functions.
 
 
Examples
 
$CriptoPHP = new CriptoPHP();
$CriptoPHP->encryptPHP("exampleScript");
$CriptoPHP->decryptAndInclude("exampleScript");
 

Comentarios   

0 #2 Andoitz 16-07-2014 09:04
Better in what sense? depends on what you're looking for.
Citar
+1 #1 John Pettitt 21-04-2014 20:47
Better to use a random iv

# create a random IV to use with CBC encoding
$iv_size = mcrypt_get_iv_s ize(MCRYPT_RIJN DAEL_128, MCRYPT_MODE_CBC );
$iv = mcrypt_create_i v($iv_size, MCRYPT_RAND);
Citar

Escribir un comentario


Código de seguridad
Refescar

Páginas web

Animaciones

Diseño en Photoshop

Curriculum

Descargas