Đi tới nội dung

Mã hoá / giải mã Base64 và URL

Mã hoá hoặc giải mã chuỗi base64 và URL theo thời gian thực.

Chạy cục bộ trên trình duyệt

// encoded
…
// decoded
…

Cách hoạt động

When you'll reach for this

Kubernetes Secrets

Kubernetes stores Secret data as base64. Encoding a token or password here gives you the value that goes into data:in a Secret manifest. Remember: base64 is encoding, not encryption. Your secrets aren't secret yet.

API debugging

HTTP Basic auth, SAML responses, OAuth state parameters, signed URLs — lots of day-to-day DevOps work involves URL encoding or base64. Paste, inspect, move on.

Câu hỏi thường gặp

Is base64 encryption?

No. Base64 is an encoding, not a cipher. It is trivially reversible. Never use base64 alone to hide secret data.

Why are Kubernetes Secrets base64-encoded?

So binary data can round-trip through YAML, which is text. It is not a security feature. Anyone with read access to the Secret can base64-decode the value.

What is the difference between base64 and URL encoding?

Base64 turns arbitrary bytes into 64 printable characters (A-Z, a-z, 0-9, +, /). URL encoding (percent-encoding) escapes characters that would otherwise have special meaning in a URL.

Các công cụ được port từ DevOps Daily theo giấy phép MIT.Xem bản gốc

Công cụ khác

Tính subnet CIDR

Phân tích dải CIDR, tính dải địa chỉ, chia nhỏ subnet và kiểm tra một IP có nằm trong mạng hay không.

Mở công cụ

Giải mã JWT

Xem nội dung bất kỳ JWT nào ngay trên trình duyệt. Không gửi gì lên server.

Mở công cụ