PHP Classes

Packages of Bigb06

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Bigb06 (1)  >  Mission progress status  >  Reputation  
Picture of Bigb06
Name: Bigb06 <contact>
Classes: 1
Country: France France
Age: ???
All time rank: Not yet ranked
Week rank: Not yet ranked
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image PHP Cypher File  
PHP Programming Innovation award nominee
June 2026
Nominee
Vote
Symmetric encryption of large files using RSA keys
This package provides symmetric encryption of large files using RSA keys.

It provides a class that takes the path of one file and generates a random encryption key.

The class can create an output file to store the encryption key, reads the input file in chunks of a small size, encrypts the file data using the AES-256-CBC cypher, and then uses a given RSA key to encrypt the resulting data with a public key before storing the data in a file.

It can also do the opposite by reading a previously encrypted file, decrypting the file data using a private RSA key, reading the encryption key from the file, reading the file chunks, decrypting the file chunks using an AES-256-CBC cipher, and storing the decrypted chunks in the output file.
Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z