+/=. Hexciphertext uses0-9anda-f, with two characters per byte. If you upload a binary .enc file, di encoding selector na ignored automatically.1️⃣ What na PEM?
PEM (Privacy-Enhanced Mail) na a text format used to store and transfer keys and certificates. It Base64-encodes binary DER data and wraps it with header and footer lines such as-----BEGIN PRIVATE KEY-----and-----END PRIVATE KEY-----. Common labels includePUBLIC KEY, PRIVATE KEY, andCERTIFICATE. Because it na plain text, PEM na easy to copy, paste, and exchange across systems.
2️⃣ What other formats might you see?
- DER: a raw binary format dat stores ASN.1 structures directly and na common in Java or certificate tooling.
- HEX: a hexadecimal string representation of DER bytes, useful for debugging or embedding byte data in code.
- Base64 without headers: di DER payload encoded as Base64 but without PEM wrappers, often used in compact configuration formats.
- PKCS#12 (PFX): a binary container dat fit package public and private keys together, usually protected with a password.
3️⃣ When suppose each format be used?
- PEM: di most universal choice for OpenSSL, web servers, API exchange, and manual key handling.
- DER: useful when binary storage na preferred or required by platform-specific tooling.
- HEX: handy for debugging and for situations where byte-level inspection matters.
- Base64 without headers: useful when di surrounding format does not allow PEM wrappers and you want a compact text payload.
- PKCS#12: best when you need to transport a certificate and private key together with password protection.