DevTulz Online

Crittografa Testo

Tutta la crittografia viene eseguita localmente nel tuo browser utilizzando la Web Crypto API. I tuoi dati non lasciano mai il tuo dispositivo.

Cos'è la Crittografia del Testo?

La crittografia del testo converte il tuo testo in chiaro in un formato crittografato utilizzando algoritmi crittografici come AES-GCM o AES-CBC. Ciò garantisce che solo qualcuno con la chiave segreta corretta possa decifrare e leggere i tuoi dati. La crittografia è essenziale per proteggere informazioni sensibili durante la trasmissione o l'archiviazione.

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.

Come utilizzare lo strumento di Crittografia del Testo

  1. Inserisci il testo che vuoi crittografare nel campo di input.

  2. Scegli un algoritmo di crittografia (AES-GCM è consigliato per la maggior parte dei casi d'uso).

  3. Inserisci la tua chiave segreta (minimo 32 caratteri) o fai clic sul pulsante chiave per generarne una casuale.

  4. Il risultato crittografato viene generato automaticamente mentre digiti.

  5. Copia il risultato crittografato e mantieni la tua chiave segreta al sicuro - ti servirà per decifrare i dati in seguito.

  6. Usa l'icona dell'occhio per mostrare/nascondere la tua chiave segreta per sicurezza.

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

Note di Sicurezza

Questo strumento utilizza la Web Crypto API nativa del browser per una crittografia forte. AES-GCM fornisce crittografia autenticata con dati associati (AEAD), rendendolo la scelta consigliata per la maggior parte delle applicazioni. AES-CBC fornisce crittografia a blocchi tradizionale. Mantieni sempre la tua chiave segreta al sicuro e non condividerla mai pubblicamente. L'output crittografato include sia il vettore di inizializzazione (IV) che i dati crittografati in formato JSON.

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

Questo strumento di crittografia del testo online gratuito è veloce, sicuro e funziona completamente nel tuo browser. Tutta la crittografia avviene localmente nel tuo browser utilizzando l'API Web Crypto. Nessun dato viene inviato a nessun server.

Hai bisogno di decifrare testo? Prova il nostro Strumento di Decifratura Testo →

Keywords: crittografia testo online, crittografia AES, crittare testo, AES-GCM, AES-CBC, crittografia testo sicura, crittografia gratuita