Closed cammellos closed 5 years ago
@adambabik ready to be reviewed again!
@smoelius Done, I have split the commits in 3 different (remove header encryption, return an error and change the type from [32]byte
to []byte
).
I have also included your last suggestion of checking the length of the keys.
Thanks!
This commit changes the interface of
Encrypt
&DH
to allow returning an error. It also remove the encrypted header version as wasn't maintained anymore and currently not used.