Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/distributive-network/pythonmonkey-crypto-js-fullstack-example
https://github.com/distributive-network/pythonmonkey-crypto-js-fullstack-example
aes javscript python pythonmonkey
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/distributive-network/pythonmonkey-crypto-js-fullstack-example
- Owner: Distributive-Network
- Created: 2023-06-28T14:57:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-26T02:04:02.000Z (about 1 year ago)
- Last Synced: 2024-04-25T00:28:29.173Z (8 months ago)
- Topics: aes, javscript, python, pythonmonkey
- Language: Python
- Homepage: https://pythonmonkey.io/
- Size: 13.7 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fullstack AES encryption and decryption app that uses the crypto-js NPM package
This repository contains an example of Python code executing JavaScript code from an NPM package using [PythonMonkey](https://pythonmonkey.io/). The Python code here is a web server that uses the [CryptoJS](https://www.npmjs.com/package/crypto-js) NPM package to encrypt and decrypt messages using AES.
PythonMonkey is a Python library for executing JavaScript code in Python and Python code in JavaScript. Check out our website [https://pythonmonkey.io/](https://pythonmonkey.io/)!
## Demonstration
![249767141-1f0886ea-c3ed-4061-867f-c876f1f8e653](https://github.com/Distributive-Network/PythonMonkey-Crypto-JS-Fullstack-Example/assets/18359452/3f771e4f-a0f5-46ca-93e1-c3d2f8c2bd1d)
## Installation
`$ pip install pythonmonkey`
`$ npm install`
## Running the Example
`$ python3 main.py`
Open [http://localhost:9000/](http://localhost:9000/) on your browser
## Other Examples
For simpler and more comprehensive examples showing off Promises, WebAssembly and more PythonMonkey features, refer to [https://github.com/Distributive-Network/PythonMonkey-examples/](https://github.com/Distributive-Network/PythonMonkey-examples/).