セキュリティ&暗号化ガイド

Base64 vs 暗号化 — エンコーディングは暗号化で「ない」

Base64 は暗号化? いいえ。エンコーディング (Base64)、ハッシュ (SHA-256)、暗号化 (AES) の違い。Base64 をセキュリティに使わない。

よくある誤解:Base64は安全か?

A widespread misunderstanding among web developers and system administrators is assuming that Base64-encoded text is secure because it looks like a scrambled, unintelligible random string of characters.

⚠️ Security Warning: Base64 encoding provides ZERO confidentiality or security. Anyone who intercepts a Base64-encoded string can instantly convert it back to plaintext without needing a secret key, password, or certificate.

比較:エンコード vs 暗号化 vs ハッシュ化

PropertyEncoding (Base64)Encryption (AES / RSA)Hashing (SHA-256)
Primary PurposeData format compatibility across text systemsData confidentiality & privacy protectionData integrity & password verification
Secret Key Required?No KeyRequires Key / PasswordNo Key (One-way)
Reversible?100% Reversible by AnyoneReversible ONLY with Secret KeyIrreversible (One-way)
Standard ExampleRFC 4648 Base64AES-256-GCM, RSA-4096SHA-256, bcrypt, Argon2

オンラインツールを試す

文字列、ファイル、画像をエンコードまたはデコードする必要がありますか? 100%クライアントサイドツールをご利用ください: