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

outdated

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

example/example.dart

import 'dart:io';

import 'package:file_cryptor/file_cryptor.dart';

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);
}
44
likes
0
pub points
79%
popularity

Publisher

verified publisherwebdastur.uz

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

encrypt, flutter, meta, path

More

Packages that depend on file_cryptor