تشفير النص
ما هو تشفير النص؟
تشفير النص هو عملية تحويل النص القابل للقراءة (النص العادي) إلى تنسيق غير قابل للقراءة (النص المشفر) لحماية سريته. فقط أولئك الذين لديهم مفتاح فك التشفير الصحيح يمكنهم قراءة الرسالة الأصلية.
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.
كيفية استخدام أداة تشفير النص
-
أدخل النص الذي تريد تشفيره في مربع الإدخال.
-
اختر خوارزمية التشفير (AES أو RSA).
-
أدخل مفتاح تشفير أو انقر على "توليد مفتاح" لإنشاء واحد.
-
لـ RSA: الصق مفتاحك العام بتنسيق PEM.
-
انقر على زر "تشفير" لتوليد البيانات المشفرة.
-
استخدم أيقونة العين لإظهار/إخفاء مفتاحك السري للأمان.
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
ملاحظات الأمان
هذه الأداة تستخدم Web Crypto API الأصلية للمتصفح للتشفير القوي. AES-GCM يوفر تشفيراً مصادقاً مع بيانات مرتبطة (AEAD)، مما يجعله الخيار الموصى به لمعظم التطبيقات. AES-CBC يوفر تشفير كتلة تقليدي. دائماً احتفظ بمفتاحك السري آمناً ولا تشاركه علناً. الإخراج المشفر يتضمن كلاً من متجه التهيئة (IV) والبيانات المشفرة بتنسيق 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
أداة تشفير النص المجانية عبر الإنترنت سريعة وآمنة وتعمل بالكامل في متصفحك. يتم تنفيذ جميع عمليات التشفير محلياً في متصفحك باستخدام Web Crypto API. لا يتم إرسال أي بيانات إلى أي خادم.
Keywords: تشفير النص عبر الإنترنت، تشفير aes، تشفير النص، aes-gcm، aes-cbc، تشفير نص آمن، تشفير مجاني