I am looking for a way to encrypt a file using many passwords for decryption.
I was use
AES encryption as solution or any compatible one.
I have suggestion:
Encrypt file with one password, and when we decrypt, we can use many passwords but related to the first one like (
RANDOM_KEY.password.RANDOM_KEYS) and encode it ... in the decrypt function we decode the password and remove random_keys.
I want make a file decryptable with many passwords, but the other passwords generated from the main password ... like this a user1 can't share the password with a user2.
But how to make this pratical in a
C language for example ?