Pag-encrypt ng Teksto
Ano ang pag-encrypt ng teksto?
Ang pag-encrypt ng teksto ay proseso ng pag-convert ng readable text (plain text) sa unreadable format (encrypted text) para protektahan ang confidentiality nito. Tanging ang may tamang decryption key lang ang makakabasa ng orihinal na mensahe.
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.
Paano gamitin ang text encryption tool
-
Ilagay ang text na gusto mong i-encrypt.
-
Magbigay ng password.
-
I-click ang "Encrypt".
-
Kopyahin ang encrypted text at i-save nang ligtas.
-
Kopyahin ang na-encrypt na resulta at panatilihing ligtas ang iyong lihim na susi — kakailanganin mo ito para i-decrypt ang data.
-
Gamitin ang eye icon para ipakita/itago ang iyong lihim na susi.
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
Mga Tala sa Seguridad
Ginagamit ng tool na ito ang native Web Crypto API ng browser para sa malakas na encryption. Ang AES-GCM ay nagbibigay ng authenticated encryption. Palaging panatilihing ligtas ang iyong lihim na susi. Ang na-encrypt na output ay naglalaman ng IV at encrypted data sa 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
Ligtas na i-encrypt ang text nang direkta sa browser gamit ang AES-256-GCM. Walang data na ipinapadala sa server.
Mga Madalas Itanong
Ligtas ba ang pag-decode ng sensitibong data dito? Oo. Ang lahat ng pag-decode ay nangyayari sa iyong browser gamit ang JavaScript. Walang data na ipinadala sa anumang server, kaya ang iyong encoded strings ay nananatiling ganap na pribado.
Ano ang pagkakaiba sa pagitan ng Base64 at URL-safe Base64? Ang standard Base64 ay gumagamit ng + at / characters, na mga special character sa URLs. Ang URL-safe Base64 ay pinapalit ang mga ito ng - at _ upang ang string ay maaaring gamitin nang ligtas sa URLs at mga filename nang walang percent-encoding.
Bakit ang aking decoded output ay mukhang basura? Kung ang orihinal na data ay binary (tulad ng isang larawan, PDF, o compressed file), ang decoded output ay hindi magiging readable text. Sa ganitong kaso, ang Base64 string ay kumakatawan sa isang binary file, hindi sa isang text string.
Ang Base64 ba ay isang uri ng encryption? Hindi. Ang Base64 ay isang encoding scheme, hindi encryption. Sinuman ay maaaring mag-decode ng Base64 string nang walang key. Hindi ito dapat gamitin upang protektahan ang sensitibong data — gumamit ng wastong encryption para doon.
Keywords: text encryption, AES-256, message encryption, secure encryption