Brr_webcrypto.Crypto_algo
Algorithm
interface and subtypes.
Note. In algorithm objects properties with BufferSource
s often occur. This brings a bit of complexity for accessors so we require and return Brr.Tarray.Buffer.t
for these (it also means the accessor are type unsafe on objects not generated by these modules).
type big_integer = Brr.Tarray.uint8
The type for big integers. Holds an arbitrary magnitude integer in big endian order.
type t = Crypto_key.t
The type for the Algorithm
objects.
val rsassa_pkcs1_v1_5 : Jstr.t
The name for RSASSA-PKCS1-v1_5.
module Rsa_hashed_key_gen_params : sig ... end
RSA key generation parameters.
module Rsa_hashed_import_params : sig ... end
RSA key import parameters.
module Rsa_pss_params : sig ... end
RSA-PSS parameters.
module Rsa_oaep_params : sig ... end
RSA-OAEP parameters.
module Ec_key_gen_params : sig ... end
ECDSA key generation parameters.
module Ec_key_import_params : sig ... end
ECDSA key import parameters.
module Ecdsa_params : sig ... end
ECDSA signing parameters.
module Ecdh_key_derive_params : sig ... end
ECDH key derivation parameters.
module Aes_key_gen_params : sig ... end
AES key generation paramaters
module Aes_ctr_params : sig ... end
AES encryption parameters.
module Aes_cbc_params : sig ... end
AES CBC encryption parameters.
module Aes_gcm_params : sig ... end
AES GCM encryption parameters.
module Hmac_key_gen_params : sig ... end
HMAC key generation parameters.
module Hmac_import_params : sig ... end
HMAC key import parameters.
module Hkdf_params : sig ... end
HKDF key derivation parameters.
module Pbkdf2_params : sig ... end
PBKFD2 key derivation parameters.