Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rezafarazi/ppe
PPE (Parallel processing encryption) an encryption lib for cloud and IOT
https://github.com/rezafarazi/ppe
aes cloud esp32 iot java micropython
Last synced: 24 days ago
JSON representation
PPE (Parallel processing encryption) an encryption lib for cloud and IOT
- Host: GitHub
- URL: https://github.com/rezafarazi/ppe
- Owner: rezafarazi
- Created: 2024-10-27T17:51:55.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-08T07:29:21.000Z (3 months ago)
- Last Synced: 2025-01-02T19:45:02.907Z (24 days ago)
- Topics: aes, cloud, esp32, iot, java, micropython
- Language: C++
- Homepage:
- Size: 17.8 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PPE (Parallel Processing Encryption) Library
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/rezafarazi/PPE/blob/main/LICENSE)
[![Python Version](https://img.shields.io/badge/python-3.7%2B-blue)](https://www.python.org/downloads/)
[![MicroPython](https://img.shields.io/badge/micropython-1.19%2B-green)](https://micropython.org/)PPE is a cross-platform encryption library that leverages parallel processing to provide high-performance encryption and decryption capabilities. It's available for Python, MicroPython, C++, and Java, making it versatile for various applications from embedded systems to high-performance servers.
## Features
- **Multi-platform Support**: Run on any platform that supports Python, MicroPython, C++, or Java
- **Parallel Processing**: Utilize multiple cores for faster encryption/decryption operations
- **Multiple Encryption Algorithms**:
- AES (128/256-bit)
- ChaCha20
- Blowfish
- Custom hybrid encryption modes
- **Memory Efficient**: Optimized for both resource-constrained and high-performance systems
- **Thread Safety**: Safe for concurrent operations
- **Streaming Support**: Process large files without loading them entirely into memory## Installation
Clone the repository:
```bash
git clone https://github.com/rezafarazi/PPE.git
```## Usage
### Python
```python
# main run
if __name__ == '__main__':data = "salam"
encrypted_data = PPE(data, "reza")
print(f"Encrypted: {encrypted_data}")
decrypted_data = PPD(encrypted_data, "reza")
print(f"Decrypted: {decrypted_data}")```
### MicroPython
```python
# main run
enc1 = PPE("salam", "reza")
dec1 = PPD(enc1, "reza")print("Text encript is : ", enc1)
print("Text decript is : ", dec1)
```### Java
```java
package com.rezafta;import com.rezafta.PPE.PPE;
import com.rezafta.PPE.Types.EncriptionTypes;/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args ) throws Exception
{PPE p=new PPE();
String result=p.GetEncription("salam", "reza",EncriptionTypes.AES);
System.out.println("En last is : "+result);String results=p.GetDecription(result,"reza",EncriptionTypes.AES);
System.out.println("De last is : "+results);}
}
```## Contributing
1. Fork the repository from [https://github.com/rezafarazi/PPE](https://github.com/rezafarazi/PPE)
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request## Security Considerations
- All encryption keys should be properly generated using cryptographically secure methods
- The library uses standard encryption algorithms from trusted cryptographic libraries
- Regular security audits are performed
- See SECURITY.md for vulnerability reporting## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/rezafarazi/PPE/blob/main/LICENSE) file for details.
## Support
- Documentation: [PPE Wiki](https://github.com/rezafarazi/PPE/wiki)
- Issue Tracker: [GitHub Issues](https://github.com/rezafarazi/PPE/issues)
- Discussion Forum: [GitHub Discussions](https://github.com/rezafarazi/PPE/discussions)## Acknowledgments
- OpenSSL for core cryptographic operations
- The MicroPython community for embedded systems support
- Contributors and maintainers---
Made with ❤️ by the PPE Library Team