I’m asking this because I’m not entirely sure if it makes sense to do all that. Encrypting files offers more privacy, but then you have to think about managing the keys (and nonces or IVs) and make sure you don’t lose them. Would XChaCha20-Poly1305 be ample for this purpose? Compression also makes sense to make the most of your storage space; from what I’ve heard, ZSTD should be a pretty good contender. I was thinking about using PAR2 too but there is no crate for it, I’d have to settle for launching a CLI with arguments, make my own crate for it or try another language, or look for another solution to error correction.

Although, is it even worth the time (and effort) to reinvent the wheel? Would PAR2 even be the best choice? And if you were to use encryption and/or compression with PAR2, would you apply PAR2 last? I’m thinking you would, despite ChatGPT saying otherwise. I’d just like to hear some opinions on all this. Before I forget, I should mention I don’t have (much) money to spend.

  • chaplin2@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Deduplicate, compress, encrypt and snapshot. Encryption is a must. You don’t want to send your data out there in the wild, that might potentially be published in a dark net website. It might go everywhere who knows.