Module

Gun.SEA

Package
purescript-bf-gun
Repository
gorillatron/purescript-bf-gun

#KeyPair Source

type KeyPair = { epriv :: String, epub :: String, priv :: String, pub :: String }

#work Source

work :: forall a. KeyPair -> a -> Options WorkOptions -> Aff String

#sign Source

sign :: forall a. AsymetricKeyPair -> a -> Aff String

#verify Source

verify :: forall a. PubKey -> a -> Aff String

#encrypt Source

encrypt :: forall a. EPriv -> a -> Aff String

#decrypt Source

decrypt :: forall a. EPriv -> a -> Aff String

#AlgoType Source

newtype AlgoType

Constructors

#Encoding Source

newtype Encoding

Constructors

#Certificate Source

type Certificate = { m :: { c :: String, w :: Array String } }

#WorkOptions Source