Search packages, repositories and app categories

Package detailsv1.0.3

saslprep

This package provides the Stringprep (rfc4013) Profile for User Names and Passwords for dart. A port of https://github.com/reklatsmasters/saslprep to the dart lang

AndroidiOSWebmacOSWindowsLinux
30-day downloads
138K
Likes
1
Pub points
150

Install package

flutter pub add saslprep

Package Overview

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

The saslprep package implements the SASL PREP (RFC 4013) profile for string preparation in Dart, ensuring user names and passwords are normalized and validated according to security standards. It is a port of the original JavaScript implementation, designed to prevent ambiguities and potential security vulnerabilities in authentication strings. This package is essential for applications requiring strict compliance with internationalized string handling in authentication contexts.

Use cases

  • User authentication systems
  • Password validation workflows
  • Internationalized username processing
  • Secure credential handling
  • SASL-based protocol integrations

Key features

  • RFC 4013 compliant string preparation
  • Support for Unicode normalization
  • Proper handling of prohibited characters
  • Cross-platform compatibility
  • Lightweight and focused API

Suitable for

  • Authentication services
  • Security-sensitive applications
  • Internationalized apps
  • Dart web and mobile apps
  • Systems using SASL protocols

Considerations

  • Requires careful input validation
  • Not suitable for general string manipulation
  • Depends on correct usage in authentication flows
  • Limited to SASL PREP use case
  • May need additional validation layers

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

saslprep-dart

Dart codecov

This package provides the Stringprep (rfc4013) Profile for User Names and Passwords for dart. A port of https://github.com/reklatsmasters/saslprep to the dart lang

Build as JavaScript

dart run build_runner build -o lib:deploy

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

Rankings