Module Crypto_algo.Rsa_hashed_key_gen_params
RSA key generation parameters.
type t
The type for
RsaHashedKeyGenParams
objects.
val v : name:Jstr.t -> modulus_length:int -> public_exponent:big_integer -> hash:Jstr.t -> unit -> algo
v ~name ~modulus_length ~public_exponent ~hash
is a key generation algorithm with the given properties.
Properties
val modulus_length : t -> int
modulus_length a
is the bit length of the RSA modulus.
val public_exponent : t -> big_integer
public_exponent a
is the public exponent.
val hash : t -> Jstr.t
hash a
is the name of the digest function to use.