Search packages, repositories and app categories

GitHub repositorywebdastur/file_cryptor

file_cryptor

Flutter File Cryptor

file_cryptor project cover
Stars
14
Forks
2
Last push (UTC)
Jun 15, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub 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
Abdulaminkhon Khaydarov GitHub avatar
GitHub author

Abdulaminkhon Khaydarov ↗

24 y.o Software Engineer

Beeline UzbekistanUzbekistanOfficial website ↗
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 6 items

  • flutter{"sdk":"flutter"}
  • encrypt^5.0.1
  • path^1.8.3
  • meta^1.9.1
  • archive^3.3.7
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗