Entwickler
RSA Verschlüsseln
Verschlüsselt Text mit RSA-OAEP und einem öffentlichen Schlüssel.
Loading…
Über RSA Encrypt
Die RSA-Verschlüsselung secures plaintext data using RSA-OAEP public-key encryption with the SHA-256 hash function for optimal padding generation, producing ciphertext that can only be decrypted with the corresponding private key. RSA public-key encryption is the foundation of hybrid cryptosystems used in TLS, PGP, and secure key exchange protocols worldwide. The maximum plaintext size depends on the RSA key length: for a 2048-bit key with SHA-256 OAEP padding, the maximum is 190 bytes, making RSA Encrypt suitable for small payloads like symmetric keys, tokens, and short messages. All operations run in your browser via the Web Crypto API with zero server transmission.
So verwenden Sie es
Fügen Sie an RSA public key in PEM format (the block beginning with -----BEGIN PUBLIC KEY----- or -----BEGIN RSA PUBLIC KEY-----) into the public key input field. Enter the plaintext message you want to encrypt in the message field, keeping in mind the key-size-dependent maximum plaintext length. Click Encrypt to run RSA-OAEP encryption using the Web Crypto API. The resulting Base64-encoded ciphertext appears in the output panel. Copy the ciphertext to send to the private key holder or for use in automated testing.
Häufige Anwendungsfälle
- Verschlüsselung von AES-Sitzungsschlüsseln oder symmetrischen Geheimnissen für die sichere Übertragung an einen Empfänger, der den entsprechenden privaten RSA-Schlüssel besitzt
- Testen der RSA-Public-Key-Funktionalität während der Entwicklung vor der Integration der Verschlüsselung in Anwendungscode oder CI-Pipelines
- Verschlüsselung kurzer sensibler Werte wie API-Schlüssel, Passwörter oder Konfigurationsgeheimnisse für sichere Speicherung oder Übertragung
- Demonstration von Public-Key-Verschlüsselungskonzepten in Bildungsumgebungen, in denen Studenten Nachrichten mit einem gemeinsamen öffentlichen Schlüssel verschlüsseln
- Überprüfung, dass a newly generated or imported RSA public key produces valid ciphertext before deploying it to production systems