Safe Haskell | None |
---|---|
Language | Haskell2010 |
Botan.HOTP
Documentation
type MutableHOTP = HOTP Source #
Constructors
HOTP_SHA1 | |
HOTP_SHA256 | |
HOTP_SHA512 |
type HOTPKey = ByteString Source #
Constructors
HOTPCtx | |
Fields
|
data HOTPLength Source #
hotpLength :: HOTPLength -> Int Source #
newHOTP :: HOTP -> HOTPLength -> Int -> ByteString -> IO HOTPCtx Source #
hotpGenerate :: HOTPCtx -> IO HOTPCode Source #
hotpCtxInit :: ByteString -> ByteString -> Int -> IO HOTPCtx Source #
hotpCtxGenerate :: HOTPCtx -> HOTPCounter -> (HOTPCode, HOTPCtx) Source #