Module

Crypt.NaCl.Types

Package
purescript-crypt-nacl
Repository
throughnothing/purescript-crypt-nacl

#NACL_RANDOM Source

#HashSha512 Source

data HashSha512 :: Type

A NaCl SHA-512 Hash

#Nonce Source

data Nonce :: Type

A NaCl Nonce

#Message Source

data Message :: Type

A NaCl Message, which is represented as a Uint8Array in JS

#Box Source

data Box :: Type

A NaCl Box, which is an encrypted, authenticated message

#BoxKeyPair Source

newtype BoxKeyPair

A NaCl BoxKeyPair containing a BoxPublicKey and a BoxSecretKey

Constructors

#BoxPublicKey Source

data BoxPublicKey :: Type

A NaCl BoxPublicKey

#BoxSecretKey Source

data BoxSecretKey :: Type

A NaCl BoxSecretKey

#BoxSharedKey Source

data BoxSharedKey :: Type

A NaCl BoxSharedKey

#SecretBox Source

data SecretBox :: Type

a NaCL SecretBox

#SecretBoxKey Source

data SecretBoxKey :: Type

a NaCL SecretBoxKey

#Signature Source

data Signature :: Type

A NaCl Signature

#SignKeyPair Source

newtype SignKeyPair

A NaCl SignKeyPair containing a SignPublicKey and a SignSecretKey

Constructors

#SignPublicKey Source

data SignPublicKey :: Type

A NaCl SignPublicKey

#SignSecretKey Source

data SignSecretKey :: Type

A NaCl SignSecretKey

#SignedMessage Source

data SignedMessage :: Type

A NaCl SignedMessage, which is represented as a Uint8Array in JS