zerobin-1.5.2: Post to 0bin services

Safe HaskellNone
LanguageHaskell2010

Web.ZeroBin.Utils

Description

Various utility functions

Synopsis

Documentation

toWeb Source #

Arguments

:: ByteString

the data to encode

-> String

base64 string without padding

Encodes to base64 and drops padding '='.

makePassword Source #

Arguments

:: Int

the number of bytes of entropy

-> IO String

random byte-string encoded by toWeb

Makes a random password