0

Can we encrypt and decrypt files in flutter?

I am working on application where i can decrypt and encrypt a file. For example an mp4 format file is already in an encrypted format i need to decrypt the file and show it in my application. If so please share the code.

Deepak
  • 11
  • 1
  • 5
  • 1
    https://pub.dartlang.org/packages/flutter_secure_storage check this – westdabestdb Jan 05 '19 at 05:20
  • Which cipher is the file encrypted in? How are you going to get the encryption key? – Richard Heap Jan 05 '19 at 12:44
  • Any format is acceptable as long as it can be encrypted and decypted @Richard Heap – Deepak Jan 07 '19 at 04:14
  • @Deepak did u solve your Problem? if yes how it is? – Joe Mar 15 '19 at 12:13
  • @Joe Sorry Joe haven't been able to solve the problem worked on other things – Deepak Jul 15 '19 at 06:38
  • It seems that there are helpful tutorials I've found online. Have you been able to bump through [this blog](https://www.yahaloms.com/flutter-encryption-of-stored-data/) and this [YouTube video](https://www.youtube.com/watch?v=8GUYpzqT2PQ)? I think it's what you are looking. If you happen to encounter any problem along the way, could you provide at least [a minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example)? – MαπμQμαπkγVπ.0 Feb 17 '21 at 20:01
  • 1
    Does this answer your question? [How to Perform File encryption with Flutter and Dart](https://stackoverflow.com/questions/58324907/how-to-perform-file-encryption-with-flutter-and-dart) – Omatt Jun 01 '21 at 13:49

0 Answers0