Module
Crypto.Subtle.Key.Derive
- Package
- purescript-subtlecrypto
- Repository
- athanclark/purescript-subtlecrypto
#deriveKey Source
deriveKey :: DeriveAlgorithm -> CryptoKey -> DeriveTargetAlgorithm -> Boolean -> Array CryptoKeyUsage -> Aff CryptoKey#deriveBits Source
deriveBits :: DeriveAlgorithm -> CryptoKey -> Int -> Aff ArrayBuffer#DeriveAlgorithm Source
data DeriveAlgorithm :: Type#ec Source
ec :: ECAlgorithm -> CryptoKey -> DeriveAlgorithm#hkdf Source
hkdf :: HashingFunction -> ArrayBuffer -> ArrayBuffer -> DeriveAlgorithm#pbkdf2 Source
pbkdf2 :: HashingFunction -> ArrayBuffer -> Int -> DeriveAlgorithm#DeriveTargetAlgorithm Source
data DeriveTargetAlgorithm :: Type#aes Source
aes :: AESAlgorithm -> AESBitLength -> DeriveTargetAlgorithm