FLUTTER ECOSYSTEM

webdastur/file_cryptor

Flutter File Cryptor

Capa do projeto file_cryptor
Stars
14
Forks
2
Último push (UTC)
15 de jun. de 2023
Status do projeto
Ativo
Abdulaminkhon Khaydarov GitHub avatar
GITHUB User

Abdulaminkhon Khaydarov ↗

24 y.o Software Engineer

Beeline UzbekistanUzbekistanSite oficial ↗
LinguagensDart

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 6 itens
  • flutter{"sdk":"flutter"}
  • encrypt^5.0.1
  • path^1.8.3
  • meta^1.9.1
  • archive^3.3.7
  • flutter_testDesenvolvimento{"sdk":"flutter"}

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

🔏 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