Crypto_algo.Rsa_hashed_key_gen_params
RSA key generation parameters.
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.
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.
hash a
is the name of the digest function to use.