erebos-0.1.2: Decentralized messaging and synchronization
Safe HaskellSafe-Inferred
LanguageHaskell2010

Erebos.Storage.Key

Documentation

storeKey :: KeyPair sec pub => sec -> IO () Source #

loadKey :: (KeyPair sec pub, MonadIO m, MonadError String m) => Stored pub -> m sec Source #

loadKeyMb :: (KeyPair sec pub, MonadIO m) => Stored pub -> m (Maybe sec) Source #

moveKeys :: MonadIO m => Storage -> Storage -> m () Source #