Skip to content

How to decrypt a message encrypted with PHP mcrypt back to JSON Object

License

Notifications You must be signed in to change notification settings

wendelb/PHPDecryptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPDecryptor

This is a projevt to show how to collect submitted data. The data is generated by an internal (meaning not publicly available) application.

Request-Format

The data will be sent to the following endpoint:

http://localhost/studenten/info.php?data=<BASE64 encoded and encrypted data>&signature=<HMAC signature>

The data is a JSON Object which is encrypted by mcrypt (PHP) using AES256-CBC. There is also a 32 Bytes Initialization Vector (IV). IV and Ciphertext are then concatenated and encoded using Base64.

The purpose of this application is to check the incoming data, decrypt it, decode the JSON and show all containing data.

License

This project is licensed under the MIT License

About

How to decrypt a message encrypted with PHP mcrypt back to JSON Object

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published