FLUTTER ECOSYSTEM

base32

Base32 Encoder and Decoder for Dart, primarily used for One Time Password secrets.

Latest version
2.2.0
30-day downloads
167K
Likes
29
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Dart package for encoding and decoding data using the Base32 algorithm, designed to handle One Time Password (OTP) secrets securely. It supports standard Base32 encoding as defined in RFC 4648, ensuring compatibility across platforms. The package is lightweight and efficient, making it ideal for applications requiring secure, human-readable representations of binary data. It works seamlessly across all major platforms including Android, iOS, Web, macOS, Windows, and Linux.

Use cases
  • Generating OTP secrets
  • Secure data encoding
  • Cross-platform token handling
  • Encoding binary data for text storage
  • Interoperability with OTP apps like Google Authenticator
Key features
  • RFC 4648 compliant
  • Supports both encoding and decoding
  • Lightweight and fast
  • Cross-platform compatibility
  • Simple API for OTP integration
Suitable for
  • Two-factor authentication apps
  • Secure credential storage
  • Mobile and web applications needing Base32
  • Developers working with OTP protocols
  • Applications requiring standardized text-based encoding
Considerations
  • Not suitable for general-purpose encryption
  • Requires manual handling of secret security
  • Limited to Base32 only, no other encodings
  • No built-in error recovery for malformed input
  • Best used alongside additional security measures
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add base32

Categories

Source repository

Related projects