Overview
A lightweight Dart package that provides URL-safe base64 encoding for UUIDv4, removing padding to create compact, safe identifiers for use in URLs. Designed for secure, human-readable random IDs without special characters that could interfere with URL parsing. Ideal for routing, sharing links, or tracking unique resources in web and mobile applications. The encoding ensures compatibility across platforms and maintains randomness and uniqueness of UUIDv4.
Use cases
- Embedding unique IDs in URLs
- Generating short, readable identifiers
- Secure link sharing
- Tracking resources in web apps
- Cross-platform ID generation
Key features
- URL-safe base64 encoding
- Padding-free output
- UUIDv4 compatibility
- Cross-platform support
- Simple API for encoding/decoding
Suitable for
- Web and mobile apps needing clean URLs
- Applications requiring unique, non-predictable IDs
- Developers prioritizing URL compatibility
- Projects using UUIDs in public-facing links
- Systems where ID length matters
Considerations
- Not suitable for cryptographic secrets
- Requires validation when decoding from untrusted sources
- Limited to UUIDv4 format
- No built-in collision detection
- Depends on external library for full functionality