Textdekryptering
Vad Àr textdekryptering?
Textdekryptering Àr processen att konvertera krypterad text (chiffertext) tillbaka till dess ursprungliga lÀsbara form (klartext). Den krÀver rÀtt dekrypteringsnyckel och algoritm.
Supported Algorithms:
Symmetric Decryption (AES):
- AES-GCM (Recommended): Provides authenticated encryption with associated data (AEAD). Most secure for general use.
- AES-CBC: Traditional block cipher mode. Requires padding.
- AES-CTR: Counter mode. Converts block cipher to stream cipher.
Asymmetric Decryption (RSA):
- RSA-OAEP: Uses private key for decryption. Requires the corresponding private key to the public key used for encryption.
Expected Input Format:
For AES algorithms: JSON with base64-encoded components
{"iv": "base64_encoded_iv", "data": "base64_encoded_ciphertext"}
Also supports legacy hex format:
{"iv": "hex_encoded_iv", "data": "hex_encoded_ciphertext"}
For RSA: Base64-encoded ciphertext only
base64_encoded_ciphertext
Hur anvÀnder man textdekrypteringsverktyget
-
Klistra in den krypterade texten i inmatningsrutan.
-
VÀlj algoritmen som anvÀndes under kryptering.
-
Ange dekrypteringsnyckeln.
-
Se den ursprungliga texten.
-
Den dekrypterade texten visas automatiskt medan du skriver.
-
Kopiera det dekrypterade resultatet för anvÀndning i din applikation.
Additional Tips:
- For AES: Use the same secret key that was used for encryption
- For RSA: You need the private key corresponding to the public key used for encryption
- Automatic format detection: The tool automatically detects base64 or hex encoding
- Error handling: If decryption fails, check that you're using the correct algorithm and key
SĂ€kerhetsnoter
Det hĂ€r verktyget anvĂ€nder webblĂ€sarens native Web Crypto API för sĂ€ker dekryptering. All dekryptering sker lokalt â inga data eller nycklar skickas till externa servrar. Verktyget stödjer base64 och hex-format för AES-data.
Important Notes:
- All decryption happens locally in your browser using the Web Crypto API
- Your private keys and secrets never leave your browser
- For RSA decryption, you decrypt with a private key; the data was encrypted with the corresponding public key
- Keep your private keys and secret keys secure - they are the only way to decrypt your data
- The tool supports both base64 (standard) and hex (legacy) encoding formats
Dekryptera AES-256-GCM krypterad text direkt i webblÀsaren. Ingen data skickas till servrar.
Ofta stÀllda frÄgor
Ăr det sĂ€kert att avkoda kĂ€nslig data hĂ€r? Ja. All avkodning sker i din webblĂ€sare med hjĂ€lp av JavaScript. Ingen data skickas till nĂ„gon server, sĂ„ dina kodade strĂ€ngar förblir helt privata.
Vad Àr skillnaden mellan Base64 och URL-sÀker Base64? Standard Base64 anvÀnder + och / tecken, vilka Àr specialtecken i URL:er. URL-sÀker Base64 ersÀtter dem med - och _ sÄ att strÀngen kan anvÀndas sÀkert i URL:er och filnamn utan procent-kodning.
Varför ser min avkodade utdata ut som nonsens? Om originaldata var binÀr (sÄsom en bild, PDF eller komprimerad fil), kommer den avkodade utdata inte att vara lÀsbar text. I sÄ fall representerar Base64-strÀngen en binÀr fil, inte en textstrÀng.
Ăr Base64 en form av kryptering? Nej. Base64 Ă€r ett kodningsschema, inte kryptering. Vem som helst kan avkoda en Base64-strĂ€ng utan en nyckel. Det bör aldrig anvĂ€ndas för att skydda kĂ€nslig data - anvĂ€nd korrekt kryptering för det.
Keywords: textdekryptering, AES-256 dekryptering, dekryptera meddelande