gossamer/subtle_crypto/encrypt_algorithm

Types

Algorithm parameters for subtle_crypto.encrypt and decrypt.

Non-standard or unnamed algorithms use Other(String).

pub type EncryptAlgorithm {
  AesCbc(iv: typed_array.TypedArray)
  AesGcm(iv: typed_array.TypedArray)
  AesGcmWith(
    iv: typed_array.TypedArray,
    additional_data: typed_array.TypedArray,
    tag_length: Int,
  )
  AesCtr(counter: typed_array.TypedArray, length: Int)
  RsaOaep
  RsaOaepWith(label: typed_array.TypedArray)
  Other(String)
}

Constructors

Search Document