flutter_password_scoring library

Classes

PasswordScoringBuilder
Simple wrapper for StreamBuilder to simplify usage of PasswordScoringHelper.
PasswordScoringHandler
This is default handler for password scoring. It calls zxcvbn method directly in foreground. When possible, use PasswordScoringIsolateHandler which uses Isolate to offload the work to a separate thread.
PasswordScoringIsolateHandler
Handler implementation that uses Isolate to offload the password scoring to a separate thread.
PasswordScoringMessage
Wrapper for Result to be used in StreamBuilder.
ScoringRequest
This is the request object for password scoring.

Functions

defaultIsolateHandler(SendPort sendPort) Future<void>
This is the default handler function used by PasswordScoringIsolateHandler.

Typedefs

PasswordScoringIsolateHandlerHandler = Future<void> Function(SendPort)
A function that initializes Isolate and returns a SendPort as first message. Afterwards it will receive Locale or String messages and process them to return a Result message.