הצפנת טקסט
מה זו הצפנת טקסט?
הצפנת טקסט היא תהליך המרת טקסט קריא (טקסט רגיל) לפורמט לא קריא (טקסט מוצפן) כדי להגן על הסודיות שלו. רק אלה עם מפתח הפענוח הנכון יכולים לקרוא את ההודעה המקורית.
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.
כיצד להשתמש בכלי הצפנת הטקסט
-
הזן את הטקסט שברצונך להצפין.
-
ספק סיסמה.
-
לחץ על "הצפן".
-
העתק את הטקסט המוצפן ושמור אותו בבטחה.
-
העתק את התוצאה המוצפנת ושמור את המפתח הסודי בבטחה — תזדקק לו לפענוח הנתונים.
-
השתמש בסמל העין להצגה/הסתרה של המפתח הסודי.
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 מספק הצפנה מאומתת. שמור תמיד את המפתח הסודי שלך בבטחה. הפלט המוצפן כולל 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
הצפן טקסט בצורה מאובטחת עם AES-256-GCM ישירות בדפדפן. אין נתונים נשלחים לשרתים.
שאלות נפוצות
האם זה בטוח לפענח נתונים רגישים כאן? כן. כל פענוח מתרחש בדפדפן שלך באמצעות JavaScript. לא נשלחים נתונים לשום שרת, כך שהמחרוזות המקודדות שלך נשארות פרטיות לחלוטין.
מה ההבדל בין Base64 ל-URL-safe Base64? Base64 סטנדרטי משתמש בתווים + ו-/, שהם תווים מיוחדים בכתובות. URL-safe Base64 מחליף אותם ב-- ו-_ כך שהמחרוזת יכולה לשמש בבטחה בכתובות ובשמות קבצים ללא קידוד אחוזים.
למה הפלט שלי שפוענח נראה כמו הבל? אם הנתונים המקוריים היו בינאריים (כגון תמונה, PDF או קובץ דחוס), הפלט שפוענח לא יהיה טקסט קריא. במקרה זה, מחרוזת Base64 מייצגת קובץ בינארי, לא מחרוזת טקסט.
האם Base64 הוא סוג של הצפנה? לא. Base64 הוא סכימת קידוד, לא הצפנה. כל אחד יכול לפענח מחרוזת Base64 ללא מפתח. לעולם לא יש להשתמש בה כדי להגן על נתונים רגישים — השתמש בהצפנה נכונה לשם כך.
Keywords: הצפנת טקסט, AES-256, הצפנת הודעה, הצפנה מאובטחת