Search packages, repositories and app categories

Package detailsv0.0.3

file_cryptor

FileCryptor is for encryption and decryption files. (PDF, MP3, MP4, PNG, ...)

AndroidiOSmacOSWindowsLinux
30-day downloads
60
Likes
45
Pub points
140

Install package

flutter pub add file_cryptor

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

FileCryptor is a Flutter package designed for encrypting and decrypting various file types, including PDF, MP3, MP4, PNG, and more. It provides secure file handling by leveraging cryptographic methods to protect sensitive data on multiple platforms. The package is suitable for applications requiring offline file security, such as document storage, media protection, or private data management. With support across Android, iOS, macOS, Windows, and Linux, it ensures cross-platform consistency in encryption workflows. Its integration via pub.dev simplifies setup and usage within Flutter projects.

Use cases

  • Secure document storage
  • Media file protection
  • Private data encryption
  • Cross-platform file security
  • Offline data confidentiality

Key features

  • Supports multiple file formats
  • Cross-platform compatibility
  • Simple encryption/decryption API
  • Secure file handling
  • Easy integration with Flutter

Suitable for

  • Apps needing file-level encryption
  • Developers building secure storage solutions
  • Projects with sensitive user data
  • Multi-platform applications
  • Privacy-focused software

Considerations

  • Requires careful key management
  • Performance may vary with large files
  • No built-in key backup mechanism
  • Limited documentation available
  • Depends on underlying crypto libraries

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

🔏 file_cryptor

📁 FileCryptor is for encryption and decryption files. (PDF, MP3, MP4, PNG, ...)

Getting Started

⚙️Installation

Add to your pubspec.yaml:

dependencies:
  file_cryptor: <last_version>
📜Example
void main() async {  
  FileCryptor fileCryptor = FileCryptor(  
	  key: "Your 32 bit key.................",  
	  iv: 16,  
	  dir: "example",  
  );  
  
  File encryptedFile = await fileCryptor.encrypt(inputFile: "video.mp4", outputFile: "video.aes");  
  print(encryptedFile.absolute);  
  
  File decryptedFile = await fileCryptor.decrypt(inputFile: "video.aes", outputFile: "video.mp4");  
  print(decryptedFile.absolute); 
}

💻 Output

File: '<your_platform_path>\example\video.aes'
File: '<your_platform_path>\example\video.mp4'
✉️ Telegram Contact: webdasturuz

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package