https://github.com/osfunapps/os-crypto-py
This module contains cryptography handling functions to implement in a Python project.
https://github.com/osfunapps/os-crypto-py
Last synced: 11 months ago
JSON representation
This module contains cryptography handling functions to implement in a Python project.
- Host: GitHub
- URL: https://github.com/osfunapps/os-crypto-py
- Owner: osfunapps
- License: mit
- Created: 2020-12-24T13:25:38.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-07T13:55:11.000Z (over 5 years ago)
- Last Synced: 2025-06-07T07:03:35.999Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Introduction
------------
This module contains cryptography handling functions to implement in a Python project.
## Installation
Install via pip:
pip install os-crypto-handler
## Usage
Require the toolbox:
from os_crypto import crypto_tools
# crpyto tools
```python
# will encrypt a data block
def encrypt(data, key, iv, mode=AES.MODE_CBC, padding_size=AES.block_size)
# will decrypt a data block
def decrypt(data, key, iv, mode=AES.MODE_CBC, padding_size=AES.block_size)
```
## Links
[GitHub - osapps](https://github.com/osfunapps)
## Licence
ISC# os-crypto-py