119 reputation
bio website gianlucaghettini.net
location Italy
age 32
visits member for 2 years, 2 months
seen Jan 26 at 13:38

Software Engineer

comment Share encrypted files without giving master key
Instead of a per-file derived key what about a per-user key. You could use masterkey and the user email to derive the key. Obviously all the files requested bye the user would be encrypted using the same key so perfect forward secrecy is lost
comment Are there cryptographic hash functions which do not have any collisions?
Yeah... that's the pigeon principle in action
comment Why would an Initialization Vector be supplied externally?
One reason is because user may prefer another entropy source than the one shipped with the algorithm itself (If any). User got a super nice hardware rng and he/she want to use it. Another reason is that user wants to (or not want to) randomze the encryption algorithm (i.e. to output different chypertexts for the same plaintext)