Online asymmetric encryption supporting RSA / ECC / SM2. Key generation and encryption/decryption happen locally in the browser.
Online asymmetric encryption supporting RSA / ECC / SM2. Key generation and encryption/decryption happen locally in the browser.
Both are asymmetric encryption: encrypt with the public key and decrypt with the private key. RSA is based on the integer factorization problem, while ECC / SM2 are based on elliptic curves — they use shorter keys and are more efficient at equivalent security levels. ECC is common on mobile and in certificates; SM2 is used for Chinese compliance.
The public key can be shared and is used to encrypt data or verify signatures; the private key must be kept secret and is used to decrypt or generate digital signatures. Leaking the private key is like handing over your identity — keep it offline.
No. Keys are generated and used only locally and are never uploaded to any server; but export and save the private key soon after generating it, since it is lost on refresh.
No. Encryption uses the public key to encrypt and the private key to decrypt; signing uses the private key to sign and the public key to verify. The directions are opposite and not interchangeable. Use signing to prove authorship, encryption so only you can read it.
At least 2048 bits is recommended; choose 3072 or 4096 bits for higher security. Longer keys are more secure but slower for encryption and signing, and very long keys are not worth it for performance-sensitive cases.
Asymmetric encryption is slow and length-limited (a single operation can only encrypt data slightly shorter than the key). In practice hybrid encryption is used: protect a symmetric key with the asymmetric algorithm, then encrypt the bulk data with a symmetric cipher such as AES.
Yes, but in two steps: encrypt with the recipient's public key for confidentiality, and sign with your own private key for authenticity. Typically sign first, then encrypt, so the receiver can verify the source before decrypting.
This tool exports standard PEM / hex formats that most libraries supporting the same algorithm (e.g. OpenSSL, Web Crypto) can read; but formats vary slightly across systems, so if import fails, check that the format and algorithm match.