Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- genPassword :: MonadRandom m => GenPasswordOpts -> m Word
- genPasswords :: MonadRandom m => GenPasswordOpts -> m [Word]
- genPasswords' :: MonadRandom m => GenPasswordOpts -> Int -> m [Word]
- genPassphrase :: MonadRandom m => GenPassphraseOpts -> m [Word]
- genPassphrase' :: MonadRandom m => GenPassphraseOpts -> Int -> m [Word]
Documentation
genPassword :: MonadRandom m => GenPasswordOpts -> m Word Source #
Generate a password with the given options
genPasswords :: MonadRandom m => GenPasswordOpts -> m [Word] Source #
Generate passwords with the given options. Warning: Do not use with the IO monad,
instead use genPasswords'
genPasswords' :: MonadRandom m => GenPasswordOpts -> Int -> m [Word] Source #
genPassphrase :: MonadRandom m => GenPassphraseOpts -> m [Word] Source #
Generate a passphrase with the given options. Warning: Do not use with the IO monad,
instead use genPassphrash'
genPassphrase' :: MonadRandom m => GenPassphraseOpts -> Int -> m [Word] Source #
Generate a passphrase with the given options and the given number of words.