Module

Crypt.NaCl.Types

Package
purescript-tweetnacl
Repository
AlexaDeWit/purescript-tweetnacl

#equalUint8Arrays Source

equalUint8Arrays :: Uint8Array -> Uint8Array -> Boolean

A general equality comparison for Uint8Arrays

#HashSha512 Source

data HashSha512 :: Type

A NaCl SHA-512 Hash

Instances

#Nonce Source

data Nonce :: Type

A NaCl Nonce

Instances

#Message Source

data Message :: Type

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

Instances

#Box Source

data Box :: Type

A NaCl Box, which is an encrypted, authenticated message

Instances

#BoxKeyPair Source

newtype BoxKeyPair

A NaCl BoxKeyPair containing a BoxPublicKey and a BoxSecretKey

Constructors

Instances

#BoxPublicKey Source

data BoxPublicKey :: Type

A NaCl BoxPublicKey

Instances

#BoxSecretKey Source

data BoxSecretKey :: Type

A NaCl BoxSecretKey

Instances

#BoxSharedKey Source

data BoxSharedKey :: Type

A NaCl BoxSharedKey

Instances

#SecretBox Source

data SecretBox :: Type

a NaCL SecretBox

Instances

#SecretBoxKey Source

data SecretBoxKey :: Type

a NaCL SecretBoxKey

Instances

#Signature Source

data Signature :: Type

A NaCl Signature

#SignKeyPair Source

newtype SignKeyPair

A NaCl SignKeyPair containing a SignPublicKey and a SignSecretKey

Constructors

Instances

#SignPublicKey Source

data SignPublicKey :: Type

A NaCl SignPublicKey

Instances

#SignSecretKey Source

data SignSecretKey :: Type

A NaCl SignSecretKey

Instances

#SignSeed Source

data SignSeed :: Type

A NaCl SignSeed (a 32 byte seed can be used to generate a 64 byte SignSecretKey)

#SignedMessage Source

data SignedMessage :: Type

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

Instances