Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class OneTimeAuth ota where Source #
Nothing
oneTimeAuth :: OneTimeAuthKey ota -> OneTimeAuthNonce ota -> ByteString -> OneTimeAuthCode ota Source #
default oneTimeAuth :: IncrementalOneTimeAuth ota => OneTimeAuthKey ota -> OneTimeAuthNonce ota -> ByteString -> OneTimeAuthCode ota Source #
Instances
data family OneTimeAuthKey ota Source #
Instances
Eq (OneTimeAuthKey Poly1305) Source # | |
Defined in Botan.OneTimeAuth.Poly1305 (==) :: OneTimeAuthKey Poly1305 -> OneTimeAuthKey Poly1305 -> Bool # (/=) :: OneTimeAuthKey Poly1305 -> OneTimeAuthKey Poly1305 -> Bool # | |
Ord (OneTimeAuthKey Poly1305) Source # | |
Defined in Botan.OneTimeAuth.Poly1305 compare :: OneTimeAuthKey Poly1305 -> OneTimeAuthKey Poly1305 -> Ordering # (<) :: OneTimeAuthKey Poly1305 -> OneTimeAuthKey Poly1305 -> Bool # (<=) :: OneTimeAuthKey Poly1305 -> OneTimeAuthKey Poly1305 -> Bool # (>) :: OneTimeAuthKey Poly1305 -> OneTimeAuthKey Poly1305 -> Bool # (>=) :: OneTimeAuthKey Poly1305 -> OneTimeAuthKey Poly1305 -> Bool # max :: OneTimeAuthKey Poly1305 -> OneTimeAuthKey Poly1305 -> OneTimeAuthKey Poly1305 # min :: OneTimeAuthKey Poly1305 -> OneTimeAuthKey Poly1305 -> OneTimeAuthKey Poly1305 # | |
newtype OneTimeAuthKey Poly1305 Source # | |
Defined in Botan.OneTimeAuth.Poly1305 |
data family OneTimeAuthNonce ota Source #
Instances
Eq (OneTimeAuthNonce Poly1305) Source # | |
Defined in Botan.OneTimeAuth.Poly1305 (==) :: OneTimeAuthNonce Poly1305 -> OneTimeAuthNonce Poly1305 -> Bool # (/=) :: OneTimeAuthNonce Poly1305 -> OneTimeAuthNonce Poly1305 -> Bool # | |
Ord (OneTimeAuthNonce Poly1305) Source # | |
Defined in Botan.OneTimeAuth.Poly1305 compare :: OneTimeAuthNonce Poly1305 -> OneTimeAuthNonce Poly1305 -> Ordering # (<) :: OneTimeAuthNonce Poly1305 -> OneTimeAuthNonce Poly1305 -> Bool # (<=) :: OneTimeAuthNonce Poly1305 -> OneTimeAuthNonce Poly1305 -> Bool # (>) :: OneTimeAuthNonce Poly1305 -> OneTimeAuthNonce Poly1305 -> Bool # (>=) :: OneTimeAuthNonce Poly1305 -> OneTimeAuthNonce Poly1305 -> Bool # max :: OneTimeAuthNonce Poly1305 -> OneTimeAuthNonce Poly1305 -> OneTimeAuthNonce Poly1305 # min :: OneTimeAuthNonce Poly1305 -> OneTimeAuthNonce Poly1305 -> OneTimeAuthNonce Poly1305 # | |
newtype OneTimeAuthNonce Poly1305 Source # | |
Defined in Botan.OneTimeAuth.Poly1305 |
data family OneTimeAuthCode ota Source #
Instances
Eq (OneTimeAuthCode Poly1305) Source # | |
Defined in Botan.OneTimeAuth.Poly1305 (==) :: OneTimeAuthCode Poly1305 -> OneTimeAuthCode Poly1305 -> Bool # (/=) :: OneTimeAuthCode Poly1305 -> OneTimeAuthCode Poly1305 -> Bool # | |
Ord (OneTimeAuthCode Poly1305) Source # | |
Defined in Botan.OneTimeAuth.Poly1305 compare :: OneTimeAuthCode Poly1305 -> OneTimeAuthCode Poly1305 -> Ordering # (<) :: OneTimeAuthCode Poly1305 -> OneTimeAuthCode Poly1305 -> Bool # (<=) :: OneTimeAuthCode Poly1305 -> OneTimeAuthCode Poly1305 -> Bool # (>) :: OneTimeAuthCode Poly1305 -> OneTimeAuthCode Poly1305 -> Bool # (>=) :: OneTimeAuthCode Poly1305 -> OneTimeAuthCode Poly1305 -> Bool # max :: OneTimeAuthCode Poly1305 -> OneTimeAuthCode Poly1305 -> OneTimeAuthCode Poly1305 # min :: OneTimeAuthCode Poly1305 -> OneTimeAuthCode Poly1305 -> OneTimeAuthCode Poly1305 # | |
newtype OneTimeAuthCode Poly1305 Source # | |
Defined in Botan.OneTimeAuth.Poly1305 |
oneTimeAuthProxy :: OneTimeAuth ota => Proxy ota -> OneTimeAuthKey ota -> OneTimeAuthNonce ota -> ByteString -> OneTimeAuthCode ota Source #
oneTimeAuthFile :: (OneTimeAuth ota, MonadIO m) => OneTimeAuthKey ota -> OneTimeAuthNonce ota -> FilePath -> m (OneTimeAuthCode ota) Source #
class OneTimeAuth ota => IncrementalOneTimeAuth ota where Source #
oneTimeAuthLazy :: OneTimeAuthKey ota -> OneTimeAuthNonce ota -> ByteString -> OneTimeAuthCode ota Source #
Instances
oneTimeAuthFileLazy :: (IncrementalOneTimeAuth ota, MonadIO m) => OneTimeAuthKey ota -> OneTimeAuthNonce ota -> FilePath -> m (OneTimeAuthCode ota) Source #