Skip to content

salt etc , TODOs #2

@antmak

Description

@antmak

I try to use libsodium for file encryption too. Regarding your TODO https://github.com/jpiechowka/libsodium-file-crypter/blob/master/crypto/encrypt_file.c#L16 , I've come to the conclusion that the options (salt, optlimit, memlimit, alg_num) should be stored together with the encrypted data. That is, we add a (unencrypted) header to the encrypted file. Only the password is a secret.

How do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions