Encryption and Decryption code for Pycript Extensions with common encryption logic.
- Node JS + NPM / Java / Python
- This are Demo Script template, PyCript v0.4 does not have language restrictions you can use any language like C, C++, Go, Swift, Python etc.
npm install
pip install -r requirements.txt
- Java source should compiled to jar file for PyCript
- make sure to add the JSON library
- You don't need external lib, you can run it directly but recommended to compile it.
- Windows system is required
- Linux System with below library
sudo apt install jq openssl
- Custom Request Type - Fetch Key and IV from Headers
- Custom Body Type - Fetch Key and IV from Request Body
- Custom Request(Edit Header) Type - Allow you to update the header to modify the request signature
- AES Encryption ECB 128
- AES Decryption ECB 128
- AES Encryption CBC 128
- AES Decryption CBC 128