saslprep 1.0.3 copy "saslprep: ^1.0.3" to clipboard
saslprep: ^1.0.3 copied to clipboard

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

example/main.dart

import 'package:saslprep/saslprep.dart';

void main() {
  // password
  print(Saslprep.saslprep('password\u00AD'));
  // No error due to unassigned character
  print(Saslprep.saslprep('password\u0487', options: SaslprepOptions(true)));
  // Error due to unassigned character
  print(Saslprep.saslprep('password\u0487'));
}
copied to clipboard
1
likes
150
points
86.9k
downloads

Publisher

verified publisherdart.konsultaner.de

Weekly Downloads

2024.09.13 - 2025.03.28

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

unorm_dart

More

Packages that depend on saslprep