FLUTTER ECOSYSTEM

webdastur/file_cryptor

Flutter 파일 암호화기

file_cryptor 프로젝트 이미지
Stars
14
Forks
2
최근 푸시(UTC)
2023. 6. 15.
프로젝트 상태
활성
Abdulaminkhon Khaydarov GitHub avatar
GITHUB User

Abdulaminkhon Khaydarov ↗

24 y.o Software Engineer

Beeline UzbekistanUzbekistan공식 웹사이트 ↗
언어Dart

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 6 개
  • flutter{"sdk":"flutter"}
  • encrypt^5.0.1
  • path^1.8.3
  • meta^1.9.1
  • archive^3.3.7
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

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