Awesome
PyCript-Template
<p align="center"> <img src="https://i.ibb.co/KqGXSq0/Py-Cript-Banner.png" /> </p>Encryption and Decryption code for Pycript Extensions with common encryption logic.
Support
<a href="https://www.buymeacoffee.com/AnoF"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=AnoF&button_colour=FF5F5F&font_colour=ffffff&font_family=Arial&outline_colour=000000&coffee_colour=FFDD00" /></a>
Documentation
<a href="https://pycript.souravkalal.tech/#/"><img src="https://i.ibb.co/NLTJ6MR/70686099-3855f780-1c79-11ea-8141-899e39459da2.png" alt="70686099-3855f780-1c79-11ea-8141-899e39459da2" border="0"></a>
Requirements
- 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.
Installation
JavaScript
npm install
Python
pip install -r requirements.txt
Java
- Java source should compiled to jar file for PyCript
- make sure to add the JSON library
Go Lang
- You don't need external lib, you can run it directly but recommended to compile it.
Powershell
- Windows system is required
Bash Script
- Linux System with below library
sudo apt install jq openssl
Code Added
- 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