3 ms·
asymmetric key encryption is quite cpu intensive comparing to , say AES256. why not use the asymmetric keypair to guard an AES key, and use AES to do the encry
by ausjke 11y ago
asymmetric key encryption is quite cpu intensive comparing to , say AES256.
why not use the asymmetric keypair to guard an AES key, and use AES to do the encryption instead, something like what https is doing.
- arkadiyt 11y agoThat is exactly what the project does: "Every time a new file is being written, owefs_encrypt creates a one-time random key. The random key is encrypted using the public key and is embedded in the new file. The contents of the file are encrypted using such random key."
- ausjke 11y agoI see. Thanks!