MatrixAI / js-encryptedfs

Encrypted Filesystem for TypeScript/JavaScript Applications
https://polykey.com
Apache License 2.0
10 stars 3 forks source link

Storing original filesize when persisting #9

Closed MeanMangosteen closed 5 years ago

MeanMangosteen commented 5 years ago

Read #7 and #8 for context. Basically because efs zeros pads to fill the last block, we need to store the filesize of the plaintext alongside the cipher text.

MeanMangosteen commented 5 years ago

Implemented so can be closed.