cryptobox-haskell-0.1.1: Haskell bindings to cryptobox
Safe HaskellNone
LanguageHaskell2010

System.CryptoBox

Documentation

data Result a Source #

Instances

Instances details
Functor Result Source # 
Instance details

Defined in System.CryptoBox

Methods

fmap :: (a -> b) -> Result a -> Result b #

(<$) :: a -> Result b -> Result a #

Show a => Show (Result a) Source # 
Instance details

Defined in System.CryptoBox

Methods

showsPrec :: Int -> Result a -> ShowS #

show :: Result a -> String #

showList :: [Result a] -> ShowS #

Eq a => Eq (Result a) Source # 
Instance details

Defined in System.CryptoBox

Methods

(==) :: Result a -> Result a -> Bool #

(/=) :: Result a -> Result a -> Bool #

Ord a => Ord (Result a) Source # 
Instance details

Defined in System.CryptoBox

Methods

compare :: Result a -> Result a -> Ordering #

(<) :: Result a -> Result a -> Bool #

(<=) :: Result a -> Result a -> Bool #

(>) :: Result a -> Result a -> Bool #

(>=) :: Result a -> Result a -> Bool #

max :: Result a -> Result a -> Result a #

min :: Result a -> Result a -> Result a #

newtype SID Source #

Constructors

SID 

Fields

Instances

Instances details
Show SID Source # 
Instance details

Defined in System.CryptoBox

Methods

showsPrec :: Int -> SID -> ShowS #

show :: SID -> String #

showList :: [SID] -> ShowS #

Eq SID Source # 
Instance details

Defined in System.CryptoBox

Methods

(==) :: SID -> SID -> Bool #

(/=) :: SID -> SID -> Bool #

Hashable SID Source # 
Instance details

Defined in System.CryptoBox

Methods

hashWithSalt :: Int -> SID -> Int Source #

hash :: SID -> Int Source #

newtype Prekey Source #

Constructors

Prekey 

Fields

Instances

Instances details
Show Prekey Source # 
Instance details

Defined in System.CryptoBox

newtype PrekeyId Source #

Constructors

PrekeyId 

Fields

data Vector Source #

Instances

Instances details
Show Vector Source # 
Instance details

Defined in System.CryptoBox

data Box Source #

Instances

Instances details
Show Box Source # 
Instance details

Defined in System.CryptoBox

Methods

showsPrec :: Int -> Box -> ShowS #

show :: Box -> String #

showList :: [Box] -> ShowS #

data Session Source #

Instances

Instances details
Show Session Source # 
Instance details

Defined in System.CryptoBox

close :: Box -> Session -> IO () Source #

delete :: Box -> SID -> IO (Result ()) Source #