---
title: "Symmetric Encryption: AES/DES/3DES/RC4/SM4 - AllTools"
description: "Encrypt/decrypt with AES, DES, 3DES, RC4 and SM4, configurable mode, padding, key and IV for API payloads — fully client-side, nothing uploaded."
canonical_url: "https://tool.warmday.wang/en/crypto/symmetric"
meta:
  author: AllTools
  keywords: "online tools, AllTools, free online tools, developer tools, image tools, PDF tools, text tools, unit converter, no login, browser-based tools"
  "og:description": "Encrypt/decrypt with AES, DES, 3DES, RC4 and SM4, configurable mode, padding, key and IV for API payloads — fully client-side, nothing uploaded."
  "og:image": "https://tool.warmday.wang/img/og-cover.png"
  "og:image:alt": "AllTools Logo"
  "og:image:height": "630"
  "og:image:width": "1200"
  "og:title": "Symmetric Encryption: AES/DES/3DES/RC4/SM4"
  "twitter:image": "https://tool.warmday.wang/img/og-cover.png"
---

> Index of every page on this site: [llms.txt](https://tool.warmday.wang/llms.txt)

# **Symmetric Encryption Toolkit**

Supports AES, DES, 3DES, RC4, Rabbit, SM4 and other common symmetric encryption algorithms, with multiple modes and padding options.

### **Settings**

**Algorithm**

Uses native Web Crypto API

**Mode**

**Key**

Supports UTF-8, Hex, Base64 encoding

**IV (Initialization Vector)**

**Key/IV Encoding**

### **Encrypt**

### **Decrypt**

## **Instructions**

#### **Supported Algorithms**

AES: Advanced Encryption Standard, the most commonly used symmetric encryption algorithm, implemented using the browser's native Web Crypto API (SubtleCrypto); DES: Data Encryption Standard, 56-bit key, low security, for legacy compatibility only; TripleDES (3DES): Triple DES, encrypts multiple times with three keys, more secure than DES; RC4/RC4Drop: Stream ciphers, fast but with security weaknesses; Rabbit: High-speed stream cipher, suitable for resource-constrained environments; SM4: Chinese national commercial standard block cipher, implemented by sm-crypto.

#### **Modes and Padding**

AES (Native): Supports CBC, CTR, GCM modes. Padding is built-in (CBC auto PKCS7, CTR/GCM no padding needed). GCM mode also generates authentication tags. DES/3DES (crypto-js): Supports CBC, ECB, CTR, CFB, OFB modes with optional Pkcs7, ZeroPadding, NoPadding etc. Stream ciphers (RC4/Rabbit) require no mode or padding.

#### **Steps**

1\. Select algorithm in the left panel; switching algorithm auto-resets mode and padding; 2. Enter key, select key encoding (UTF-8/Hex/Base64), AES key must be 16/24/32 bytes; 3. For CBC/CTR/GCM modes, enter or generate an IV; 4. Encrypt: Enter plaintext, select output format (Base64/Hex), click 'Encrypt'; 5. Decrypt: Enter ciphertext, select input format, click 'Decrypt'.

#### **Notes**

AES key must be 16/24/32 bytes (128/192/256 bits), IV must be 16 bytes; GCM IV length is flexible (12 bytes recommended). ECB mode has poor security, only available for DES/3DES. Web Crypto API is only available in secure contexts (HTTPS or localhost). For decryption, key, IV, and mode must match encryption settings exactly.

## **Related tools**

More from the same category · Encryption

[**MD5 Hash**Generate 32-char MD5 digests for text and files to verify integrity and detect content changes locally.](https://tool.warmday.wang/en/crypto/md5) [**Hash Calculator**MD5, SHA-1, SHA-256, SHA-512 digests for text and files in one pass for checksums.](https://tool.warmday.wang/en/crypto/hash) [**Base64 Converter**Base64 encode/decode for text, UTF-8 and images, with Data URL output for inline embedding.](https://tool.warmday.wang/en/crypto/base64) [**RSA Tools**Generate RSA key pairs (1024-4096 bit), encrypt/decrypt and sign with PKCS#1 v1.5 or PSS, browser-side.](https://tool.warmday.wang/en/crypto/rsa) [**PGP Tools**Generate OpenPGP keys, encrypt, decrypt and sign text or files with GnuPG-compatible ASCII-armored output.](https://tool.warmday.wang/en/crypto/pgp) [**Certificate Tools**Parse X.509 certificates and CSR, inspect ASN.1 structure and resolve OIDs without OpenSSL.](https://tool.warmday.wang/en/crypto/cert)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://tool.warmday.wang/#organization","name":"AllTools","alternateName":"AllTools - 全能工具箱","url":"https://tool.warmday.wang/","logo":{"@type":"ImageObject","url":"https://tool.warmday.wang/img/logo.png","width":512,"height":512}},{"@type":"WebSite","@id":"https://tool.warmday.wang/en#website","url":"https://tool.warmday.wang/en","name":"AllTools","inLanguage":"en","publisher":{"@id":"https://tool.warmday.wang/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://tool.warmday.wang/en?q={search_term_string}"},"query-input":"required name=search_term_string"}},{"@type":"WebPage","@id":"https://tool.warmday.wang/en/crypto/symmetric#webpage","url":"https://tool.warmday.wang/en/crypto/symmetric","isPartOf":{"@id":"https://tool.warmday.wang/en#website"},"inLanguage":"en","name":"Symmetric Encryption: AES/DES/3DES/RC4/SM4","description":"Encrypt/decrypt with AES, DES, 3DES, RC4 and SM4, configurable mode, padding, key and IV for API payloads — fully client-side, nothing uploaded."},{"@type":"SoftwareApplication","@id":"https://tool.warmday.wang/en/crypto/symmetric#app","name":"Symmetric Encryption: AES/DES/3DES/RC4/SM4","description":"Encrypt/decrypt with AES, DES, 3DES, RC4 and SM4, configurable mode, padding, key and IV for API payloads — fully client-side, nothing uploaded.","url":"https://tool.warmday.wang/en/crypto/symmetric","applicationCategory":"SecurityApplication","operatingSystem":"Web","inLanguage":"en","isPartOf":{"@id":"https://tool.warmday.wang/en/crypto/symmetric#webpage"},"offers":{"@type":"Offer","price":"0","priceCurrency":"CNY"}},{"@type":"BreadcrumbList","@id":"https://tool.warmday.wang/en/crypto/symmetric#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://tool.warmday.wang/en"},{"@type":"ListItem","position":2,"name":"Crypto & Security","item":"https://tool.warmday.wang/en/crypto"},{"@type":"ListItem","position":3,"name":"Symmetric Encryption","item":"https://tool.warmday.wang/en/crypto/symmetric"}]}]}
```

## Sitemap

See the full [sitemap](https://tool.warmday.wang/sitemap.md) for all pages.
