Base32 인코더/디코더
Base32 텍스트를 인코딩하고 디코딩합니다. TOTP 인증 비밀 및 파일 공유 시스템에서 일반적으로 사용됩니다.
About Base32:
- • Uses 32 characters: A-Z and 2-7
- • Case-insensitive (unlike Base64)
- • No special characters that could be confused
- • Commonly used in TOTP (2FA), file hashes, and data encoding
- • 20% less efficient than Base64 but more human-readable
Base32 인코딩 (RFC 4648) - 기술 세부 정보
Base32 인코딩은 32개의 문자 알파벳(A-Z 및 2-7)을 사용하여 이진 데이터를 나타냅니다. TOTP 비밀에 일반적으로 사용되는 이유는 대소문자를 구분하지 않고 모호한 문자를 피하기 때문입니다. 인코딩은 데이터 크기를 약 60% 증가시키지만 사람이 읽을 수 있는 출력을 제공합니다.
명령줄 대안
# Using Python
python3 -c "import base64; print(base64.b32encode(b'Hello').decode())"
# Decode
python3 -c "import base64; print(base64.b32decode('JBSWY3DP').decode())"