Checkout **xtrv** a file archive utility I created while learning C.

URL: https://github.com/ttshivhula/xtrv

If you like it you can give it a star. contributions are welcomed!

  • 2
    You could try adding compression via zlib, it's quite straightforward
  • 0
    @RememberMe thanks I'm definitely going to try that. If you have time you can also create a PR
  • 3
    Your "protection" is terrible. Use proper encryption instead of a self made xor variant.

    NaCl has a 'failsafe' secret key algorithm, but you'd need to derive a good key from the password (e.g. with 50k rounds of pbkdf2 or argon2).
  • 0
    Your program flow in the main method is unnecessarily hard to follow.
Add Comment