Module
Crypto.Subtle.Encrypt
- Package
- purescript-subtlecrypto
- Repository
- athanclark/purescript-subtlecrypto
#encrypt Source
encrypt :: EncryptAlgorithm -> CryptoKey -> ArrayBuffer -> Aff ArrayBuffer
#decrypt Source
decrypt :: EncryptAlgorithm -> CryptoKey -> ArrayBuffer -> Aff (Maybe ArrayBuffer)
#EncryptAlgorithm Source
data EncryptAlgorithm :: Type
#aesCTR Source
aesCTR :: ArrayBuffer -> Int -> EncryptAlgorithm
#aesGCM Source
aesGCM :: ArrayBuffer -> Maybe ArrayBuffer -> Maybe AESTagLength -> EncryptAlgorithm