Base64 인코딩·디코딩
UTF-8 텍스트를 Base64로 바꾸고 다시 텍스트로 되돌립니다. 토큰이나 쿼리 문자열에 쓰는 URL-safe Base64도 지원합니다.
브라우저 안에서만 실행됩니다. 입력한 내용은 어디에도 업로드되지 않습니다.
UllVU0xPRyBERVYg4oCUIEpTT04sIEpXVCwgYW5kIHJlZ2V4IHRvb2xzLiDslYjrhZXtlZjshLjsmpQg8J+Riw==
Base64 참고
빠른 참조- A-Z a-z 0-9 + /
- 표준 알파벳 64자입니다. 출력 길이는 4의 배수가 되도록 =로 채웁니다.
- - _
- URL-safe Base64는 +와 /를 바꿔 경로나 쿼리 문자열에 이스케이프 없이 넣을 수 있게 합니다.
- 33%
- Base64는 데이터를 약 3분의 1 늘립니다. 큰 페이로드는 바이너리로 보내는 편이 좋습니다.
- btoa / atob
- 브라우저 내장 함수지만 Latin-1 바이트만 받으므로 텍스트를 먼저 UTF-8로 인코딩해야 합니다.
- data:image/png;base64,
- 인라인 data URL입니다. 작은 아이콘에는 괜찮지만 사진이나 캐시 가능한 자산에는 낭비입니다.
- 암호화가 아닌 인코딩
- Base64는 누구나 풀 수 있습니다. 값을 보호하려면 암호화나 서명이 필요합니다.
Python 관련 문법 가이드
Python 가이드 전체Python iter(): How the Built-in Function Works
Explains Python's iter() built-in: how it creates iterators, the two-argument sentinel form, custom iterator classes, and common edge cases.
PythonPython Pika: Queues, Exchanges, Routing Keys, and Acknowledgements
Learn how to use Python's Pika client with RabbitMQ: declare queues and exchanges, publish with routing keys, consume messages, and handle acknowledgements reliably.
PythonPython Kafka: kafka-python vs Confluent Client
python kafka python vs confluent kafka: Compare kafka-python and Confluent Kafka Python clients: API differences, performance, feature coverage, and when to choose eac...
PythonPython Kafka Offsets, Partitions, and Manual Commits
Learn how Kafka offsets and partitions work and how to manually commit offsets in Python consumers with kafka-python and confluent-kafka. Covers sync vs async commits, rebalances, and seeking.