3 ms·
Because the script in question uses openssl rsautl(1) and you can't really do encryption/decryption with Ed25519.
by beefhash 9y ago
Because the script in question uses openssl rsautl(1) and you can't really do encryption/decryption with Ed25519.
- cryptonector 9y agoBut you can encrypt with Curve25519: E(public, M) = let (ephemeral_private, ephemeral_public) = gen_random_25519(): let shared_key = Curve25519(public, ephemeral_private): return ephemeral_public || E_AES256GCM(shared_key, M).