Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- type TahinPassword = Text
- type TahinMasterPassword = Text
- type TahinIdentifier = Text
- type TahinTransformer = TahinMasterPassword -> TahinIdentifier -> TahinPassword
- tahin :: (ByteString -> ByteString) -> Int -> TahinTransformer
Documentation
type TahinPassword = Text Source
TahinPassword is used for passwords generated by Tahin.
type TahinMasterPassword = Text Source
TahinMasterPassword is used for holding a master password.
type TahinIdentifier = Text Source
A TahinIdentifier is used for holding a '(service) identifier'.
type TahinTransformer = TahinMasterPassword -> TahinIdentifier -> TahinPassword Source
A TahinTransformer
is a function mapping a
TahinMasterPassword
together with a TahinIdentifier
to a
TahinPassword
.
tahin :: (ByteString -> ByteString) -> Int -> TahinTransformer Source
Given a hash function and a maximum length, return a
TahinTransformer
.