Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type KeySpec = SizeSpecifier () Source #
minKeySize :: KeySpec -> Int Source #
maxKeySize :: KeySpec -> Int Source #
validKeySize :: KeySpec -> Int Source #
newKeyMaybe :: MonadRandomIO m => Int -> KeySpec -> m (Maybe ByteString) Source #
newKey :: MonadRandomIO m => KeySpec -> m ByteString Source #