PHP Classes

Use a PHP File Type Detection Class to Determine the Encryption Method Used in the File Using the Package RA Ultimate Cipher Analyzer: Analyze and suggest the of an encrypted file

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2025-05-09 (4 days ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
ra-ultimate-cipher-a 1.0GNU General Publi...7Algorithms, Tools, Files and Folders, C..., P...
Description 

Author

This package can analyze and suggest the of an encrypted file.

It provides a Web based tool designed to analyze encrypted files and suggest the encryption algorithm used based on statistical properties and known patterns.

It calculates metrics such as entropy, byte distribution (chi-square test), and file size to identify characteristics of strong ciphers (e.g., AES, RSA) and weak ciphers (e.g., Caesar).

The tool detects specific patterns associated with common encryption formats (e.g., OpenSSL, PGP/GPG) and handles Base64-encoded data, making it suitable for both binary and encoded files.

Although it is difficult to guess exactly what type of encryption may have been used in a given file, this package performs the necessary operations to detect the type of encryption and succeed in many cases of detection of known patterns of contents.

The detected types of files can be expanded following the class the documentation.

This tool provides a user-friendly interface for uploading files and displays detailed analysis results, including a table of expected entropy values for various ciphers.

It provides a page with a form to take a file uploaded by the user and then it calls a PHP class to detect the file type and show the results in the Web page.

Currently it can:

- AES (128/192/256)

- AES (128/192/256

- DES

- Triple DES (3DES)

- Blowfish

- RSA

- ElGamal

- Caesar Cipher

- Encrypted ZIP

- Encrypted RAR

- Encrypted PDF

- Plaintext (English)

- Plaintext (Source Code)

- Compressed Data (Unencrypted)

Picture of Roberto Aleman
  Performance   Level  
Name: Roberto Aleman <contact>
Classes: 29 packages by
Country: Venezuela Venezuela
Innovation award
Innovation award
Nominee: 18x

Winner: 2x

Instructions

Please read documentation to learn how to use this tool to implement a PHP file detection solution for encrypted files.

Documentation

 

  Files folder image Files (5)  
File Role Description
Plain text file index.php Data File upload page HTML
Plain text file LICENSE Lic. License text
Plain text file RA_UltimateCipherAnalyzer.php Class Class source
HTML file RA_Ultimate_Cipher..._Documentation.html Doc. Documentation
Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads  
 100%
Total:0
This week:0