firstfloorsoftware / flutter_sodium

Flutter bindings for libsodium
BSD 3-Clause "New" or "Revised" License
102 stars 46 forks source link

Encrypt and decrypt large files #11

Closed riccardoratta closed 5 years ago

riccardoratta commented 5 years ago

With Flutter is possible to read and write files through streams, this is very good if you have to do operations on large files because it's not necessary to store the entire file on the memory (also very limited on mobile devices).

It's possible with this library, even in theory, to decrypt and encrypt files with stream?

kozw commented 5 years ago

Certainly possible. This plugin doesn't support crypto_secretstream_xchacha20poly1305 yet, but should.