wire-api-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Wire.API.Password

Synopsis

Documentation

data Password Source #

A derived, stretched password that can be safely stored.

Instances

Instances details
Show Password Source # 
Instance details

Defined in Wire.API.Password

Cql Password Source # 
Instance details

Defined in Wire.API.Password

genPassword :: MonadIO m => m PlainTextPassword8 Source #

Generate a strong, random plaintext password of length 16 containing only alphanumeric characters, + and /.

verifyPassword :: PlainTextPassword' t -> Password -> Bool Source #

Verify a plaintext password from user input against a stretched password from persistent storage.