DevTulz Online

Tekstin salaus

All encryption is performed locally in your browser using the Web Crypto API. Your data never leaves your device.

Mikä on tekstin salaus?

Tekstin salaus on prosessi, jossa luettava teksti (selkoteksti) muunnetaan lukemattomaan muotoon (salausteksti) sen luottamuksellisuuden suojaamiseksi. Vain oikean purkuavaimen omaavat henkilöt voivat lukea alkuperäisen viestin.

Supported Algorithms:

Symmetric Encryption (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 Encryption (RSA):

  • RSA-OAEP: Uses public key for encryption. Limited to ~190 characters due to key size constraints. Use for encrypting small data or symmetric keys.

Output Format:

For AES algorithms: JSON with base64-encoded components

{"iv": "base64_encoded_iv", "data": "base64_encoded_ciphertext"}

For RSA: Base64-encoded ciphertext only (no IV needed)

base64_encoded_ciphertext

This format is compatible with most encryption/decryption tools and libraries.

Kuinka käyttää tekstin salaustyökalua

  1. Syötä teksti, jonka haluat salata syöttökenttään.

  2. Valitse salausalgoritmi (AES tai RSA).

  3. Syötä salausavain tai napsauta "Luo avain" luodaksesi sellaisen.

  4. Napsauta "Salaa" suojataksesi tekstisi.

  5. Kopioi salattu teksti ja jaa se turvallisesti.

  6. Use the eye icon to show/hide your secret key for security.

Additional Tips:

  • For AES: The secret key is auto-generated or you can provide your own (minimum 32 characters)
  • For RSA: You need a public key in PEM format. Generate one using the Key Generator tool or OpenSSL
  • RSA limitations: Can only encrypt short text (~190 characters). For longer texts, use AES algorithms
  • Output encoding: Base64 is used for compatibility with other encryption tools and libraries

Security Notes

This tool uses the browser's native Web Crypto API for strong encryption. AES-GCM provides authenticated encryption with associated data (AEAD), making it the recommended choice for most applications. AES-CBC provides traditional block cipher encryption. Always keep your secret key secure and never share it publicly. The encrypted output includes both the initialization vector (IV) and encrypted data in JSON format.

Important Notes:

  • All encryption happens locally in your browser using the Web Crypto API
  • The IV (Initialization Vector) is automatically generated for each encryption and must be saved with the ciphertext
  • For RSA encryption, you encrypt with a public key; decryption requires the corresponding private key
  • Store your secret keys securely - if lost, encrypted data cannot be recovered
  • Base64 encoding makes the output portable and compatible with most tools and programming languages

This free online text encryption tool is fast, secure, and works entirely in your browser. All encryption is performed locally using the Web Crypto API - no tiedot is sent to any server. Perfect for developers, security professionals, and anyone needing to encrypt sensitive text tiedot quickly and securely.

Tarvitsetko purkaa tekstin salauksen? Kokeile tekstin salauksen purkutyökaluamme →

Keywords: text encryption online, AES encryption, encrypt text, AES-GCM, AES-CBC, secure text encryption, free encryption tool, Web Crypto API encryption, client-side encryption