Module
Crypto.SJCL.ECC
- Package
- purescript-sjcl
- Repository
- athanclark/purescript-sjcl
#PointAffine Source
data PointAffine :: Type
#point Source
point :: Curve -> BigNumState -> BigNumState -> PointAffine
#toJac Source
toJac :: PointAffine -> PointJac
#multAffine Source
multAffine :: PointAffine -> BigNumState -> PointAffine
#mult2Affine Source
mult2Affine :: PointAffine -> BigNumState -> BigNumState -> PointAffine -> PointJac
#multiples Source
multiples :: PointAffine -> (Array PointAffine)
#toBits Source
toBits :: PointAffine -> BitArray
#isValidAffine Source
isValidAffine :: PointAffine -> Boolean
#pointJac Source
pointJac :: BigNumState -> BigNumState -> BigNumState -> Curve -> PointJac
#toAffine Source
toAffine :: PointJac -> PointAffine
#multJac Source
multJac :: PointJac -> BigNumState -> PointAffine -> PointJac
#mult2Jac Source
mult2Jac :: PointJac -> BigNumState -> PointAffine -> BigNumState -> PointAffine -> PointJac
#isValidJac Source
isValidJac :: PointJac -> Boolean
#curve Source
curve :: BigNumState -> BigNumState -> BigNumState -> BigNumState -> BigNumState -> Curve
#curveFromBits Source
curveFromBits :: Curve -> BitArray -> PointAffine
#ECCPublicKey Source
data ECCPublicKey :: Type
#ECCSecretKey Source
data ECCSecretKey :: Type
#newBasicPublicKey Source
newBasicPublicKey :: Curve -> PointAffine -> ECCPublicKey
#newBasicSecretKey Source
newBasicSecretKey :: Curve -> BigNumState -> ECCSecretKey
#getSecret Source
getSecret :: ECCSecretKey -> BitArray
#ECCPublicElGamalKey Source
data ECCPublicElGamalKey :: Type
#ECCSecretElGamalKey Source
data ECCSecretElGamalKey :: Type
#newElGamalKeypair Source
newElGamalKeypair :: Curve -> Maybe Paranoia -> ECCSecretKey -> Effect { pub :: ECCPublicElGamalKey, sec :: ECCSecretElGamalKey }
#dh Source
dh :: ECCSecretElGamalKey -> ECCPublicElGamalKey -> BitArray
#ECCPublicEcdsaKey Source
data ECCPublicEcdsaKey :: Type
#ECCSecretEcdsaKey Source
data ECCSecretEcdsaKey :: Type
#newEcdsaKeypair Source
newEcdsaKeypair :: Curve -> Maybe Paranoia -> ECCSecretKey -> Effect { pub :: ECCPublicEcdsaKey, sec :: ECCSecretEcdsaKey }
- Modules
- Crypto.
SJCL. BigNum - Crypto.
SJCL. Cipher. Block. AES - Crypto.
SJCL. Cipher. Block. Types - Crypto.
SJCL. Cipher. Mode. CBC - Crypto.
SJCL. Cipher. Mode. CCM - Crypto.
SJCL. Cipher. Mode. CTR - Crypto.
SJCL. Cipher. Mode. GCM - Crypto.
SJCL. Cipher. Mode. OCB2 - Crypto.
SJCL. Cipher. Mode. Types - Crypto.
SJCL. Codec. ArrayBuffer - Crypto.
SJCL. Codec. Base32 - Crypto.
SJCL. Codec. Base64 - Crypto.
SJCL. Codec. Hex - Crypto.
SJCL. Codec. Utf8 - Crypto.
SJCL. Codec. Z85 - Crypto.
SJCL. ECC - Crypto.
SJCL. Hash - Crypto.
SJCL. Hash. RIPEMD160 - Crypto.
SJCL. Hash. SHA1 - Crypto.
SJCL. Hash. SHA256 - Crypto.
SJCL. Hash. SHA512 - Crypto.
SJCL. Hash. Types - Crypto.
SJCL. Key. Derivation. HKDF - Crypto.
SJCL. Key. Derivation. PBKDF2 - Crypto.
SJCL. Key. Derivation. Scrypt - Crypto.
SJCL. MAC. HMAC - Crypto.
SJCL. MAC. Types - Crypto.
SJCL. Random - Crypto.
SJCL. Types