Securely encrypt/decrypt data in your Flutter app using native code. Add random salt and IV for enhanced security. Easy-to-use API, cross-platform compatible.
Package selection guidance compiled from public package information, community data, and project usage.
NativeEncryptor is a Flutter package that enables secure encryption and decryption of data using native code on Android, iOS, and macOS. It enhances security by automatically adding random salts and initialization vectors (IVs) to each encryption operation. Designed with simplicity in mind, it offers an easy-to-use API while maintaining cross-platform compatibility. Ideal for protecting sensitive user data such as credentials, tokens, or personal information within mobile applications.
Use cases
Secure storage of user credentials
Encryption of local app data
Protection of sensitive configuration files
Secure transfer of encrypted payloads
Compliance with data privacy regulations
Key features
Uses native encryption for better performance
Automatically generates random salt and IV
Cross-platform support for Android, iOS, and macOS
Simple and intuitive API
Enhanced security through randomized encryption parameters
Suitable for
Apps requiring high data security
Developers building privacy-focused applications
Projects needing compliance with GDPR or HIPAA
Mobile apps handling sensitive user information
Teams prioritizing performance and security
Considerations
Requires native code integration on each platform
May increase app size slightly due to native dependencies
Not suitable for very large data sets due to memory constraints
Limited customization of encryption algorithms
Depends on correct implementation of key management outside the package
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Native Encryptor for Flutter
A powerful plugin for secure data handling in your Flutter apps.
Key Features
Native Code Integration: Ensures top-tier security and performance.
Random Salt & IV: Adds an extra layer of protection.
Passphrase-Based Encryption: Customizable and flexible security.
User-Friendly API:** Simplifies integration into your Flutter app.
Cross-Platform Compatibility: Works seamlessly on both iOS and Android.
encrypt({required String passPhrase, required String contentToEncrypt}) Encrypts the given content with the provided passphrase.
Returns: The encrypted data as a string.
decrypt({required String passPhrase, required String concatenatedCipherText}) Decrypts the given encrypted data with the provided passphrase.
Returns: The original decrypted content.
getPlatformVersion() Retrieves the current platform version for debugging purposes.
License
This plugin is licensed under the MIT License.
Contributing
We welcome contributions! Please feel free to open issues or submit pull requests.
Connect with me:
GitHub: https://github.com/subhashDev11
LinkedIn: https://www.linkedin.com/in/subhashcs/
Medium: https://medium.com/@subhashchandrashukla
Enhance your Flutter app's security with Native Encryptor!