Simple i/o test for working with php.gt/cipher
This is a really simple WebEngine application that can encrypt/decrypt messages by entering the raw Cipher/IV values manually.
Hosted online at https://cipher-test.g105b.com.
The purpose is to help integrate other languages with the encryption process.
To run:
git clone https://github.com/g105b/cipher-test
- Navigate to the project directory
composer install
gt run
- Then head to http://localhost:8080 in your browser
To use:
- Type a message in plain text
- Enter a key, or use the provided one
- Enter an IV, or use the provided one
- Click encrypt
- Copy the cipher message and IV somewhere safe
- Close the browser and come back later
- Enter the same secret as before
- Enter the cipher you saved
- Enter the IV you saved
- Click decrypt
- Your message should be on plain display.
Point 6 is only there for dramatic effect.