file_cryptor 0.0.3 copy "file_cryptor: ^0.0.3" to clipboard
file_cryptor: ^0.0.3 copied to clipboard

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

🔏 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>
copied to clipboard

📜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); 
}
copied to clipboard

💻 Output #

File: '<your_platform_path>\example\video.aes'
File: '<your_platform_path>\example\video.mp4'
copied to clipboard

✉️ Telegram Contact: webdasturuz

45
likes
140
points
119
downloads

Publisher

verified publisherwebdastur.uz

Weekly Downloads

2024.09.29 - 2025.04.13

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

archive, encrypt, flutter, meta, path

More

Packages that depend on file_cryptor