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: 3 months 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-26T02:04:02.000Z (over 1 year ago)
- Last Synced: 2025-01-10T19:47:53.677Z (4 months ago)
- Topics: aes, javscript, python, pythonmonkey
- Language: Python
- Homepage: https://pythonmonkey.io/
- Size: 13.7 KB
- Stars: 3
- Watchers: 4
- 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

## 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/).