encryptAsync
fun encryptAsync(algorithm: Algorithm, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>(source)
fun encryptAsync(algorithm: String, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>(source)
fun encryptAsync(algorithm: RsaOaepParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>(source)
fun encryptAsync(algorithm: AesCtrParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>(source)
fun encryptAsync(algorithm: AesCbcParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>(source)
fun encryptAsync(algorithm: AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>(source)