Module
Crypto.Subtle.Key.Generate
- Package
- purescript-yoga-subtlecrypto
- Repository
- rowtype-yoga/purescript-yoga-subtlecrypto
#generateKey Source
generateKey :: SymmetricAlgorithm -> Boolean -> Array CryptoKeyUsage -> Aff CryptoKey
Generate a symmetric key
https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/generateKey
#generateKeyPair Source
generateKeyPair :: AsymmetricAlgorithm -> Boolean -> Array CryptoKeyUsage -> Aff CryptoKeyPair
Generate an asymmetric keypair
https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/generateKey
#AsymmetricAlgorithm Source
data AsymmetricAlgorithm
#SymmetricAlgorithm Source
data SymmetricAlgorithm