An open API service indexing awesome lists of open source software.

https://github.com/anof-cyber/pycript-template

Encryption and Decryption code for PyCript Extensions with common encryption logic
https://github.com/anof-cyber/pycript-template

Last synced: 22 days ago
JSON representation

Encryption and Decryption code for PyCript Extensions with common encryption logic

Awesome Lists containing this project

README

        

# PyCript-Template



Encryption and Decryption code for Pycript Extensions with common encryption logic.

## Support

## Documentation

70686099-3855f780-1c79-11ea-8141-899e39459da2

## 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
```console
npm install
```

---------------------------

Python, Java, GO, Powershell, Bash etc no longer Maintained, PyCript still support multiple language, demo code is only maintained in JavaScript
#### Python
```console
pip install -r requirements.txt
```

#### Java
- Java source should compiled to jar file for PyCript
- make sure to add the [JSON library](https://github.com/stleary/JSON-java)

#### 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

```console
sudo apt install jq openssl
```
-------------------------------------------------

## Code Added

- [X] Example for Raw Encrypted Data with non ASCII
- [X] AES Decryption CBC 128 with Header Parsing Example
- [X] AES Encryption CBC 128
- [X] AES Decryption CBC 128