Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.Tox.Crypto.Keyed
Description
Monad class for caching of combined keys
Synopsis
- class (Monad m, Applicative m) => Keyed m where
- getCombinedKey :: SecretKey -> PublicKey -> m CombinedKey
- newtype NullKeyed a = NullKeyed {
- runNullKeyed :: a
Documentation
class (Monad m, Applicative m) => Keyed m where Source #
Methods
getCombinedKey :: SecretKey -> PublicKey -> m CombinedKey Source #
Instances
trivial instance: the trivial monad, with no caching of keys
Constructors
NullKeyed | |
Fields
|
Instances
Monad NullKeyed Source # | |
Functor NullKeyed Source # | |
Applicative NullKeyed Source # | |
Defined in Network.Tox.Crypto.Keyed | |
Keyed NullKeyed Source # | |
Defined in Network.Tox.Crypto.Keyed Methods getCombinedKey :: SecretKey -> PublicKey -> NullKeyed CombinedKey Source # |