Please use this as an example on how to encrypt and decrypt the HTTP commands to control Wifi Cloud Printers.
- Connect to the printer's Wi-Fi
- Run the command as follows:
./gradlew run --args $'YOUR-PRINTER-ENDPOINT YOUR-ENCRYPTION-KEY \'YOUR-COMMAND\''
- Replace the YOUR-PRINTER-ENDPOINT, YOUR-ENCRYPTION-KEY and YOUR-COMMAND with the corresponding data
- If the command is successful, this program will show decrypted response in the console.
- If you are not connected to the right Wi-Fi, this program will eventually time out.