2 ms·
This seem to use home made cryptography, which is never a good idea. In particular it's not clear why this design with layered algorithms is needed, nor why it
by forty 2y ago
This seem to use home made cryptography, which is never a good idea. In particular it's not clear why this design with layered algorithms is needed, nor why it uses a non standard KDF.
Prefer using libsodium for the crypto, which has made sensible choices for you.
- forty 2y agoAlso you are missing a MAC, which is also a bad idea