v0.0.3
file_cryptor
FileCryptor는 파일 암호화 및 복호화를 위한 것입니다. (PDF, MP3, MP4, PNG 등)
45좋아요 5930일 다운로드140Pub 점수
AndroidiOSmacOSWindowsLinux
Flutter 파일 암호화기
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
📁 FileCryptor is for encryption and decryption files. (PDF, MP3, MP4, PNG, ...)
Add to your pubspec.yaml:
dependencies:
file_cryptor: <last_version>
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);
}
File: '<your_platform_path>\example\video.aes'
File: '<your_platform_path>\example\video.mp4'