package brr

  1. Overview
  2. Docs
On This Page
  1. Properties
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Crypto_algo.Rsa_hashed_key_gen_paramsSource

RSA key generation parameters.

Sourcetype t

The type for RsaHashedKeyGenParams objects.

Sourceval 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.

Sourceval of_algo : algo -> t

of_algo a is an unsafe conversion from a.

Properties

Sourceval name : t -> Jstr.t

name a is the algorithm to use.

Sourceval modulus_length : t -> int

modulus_length a is the bit length of the RSA modulus.

Sourceval public_exponent : t -> big_integer

public_exponent a is the public exponent.

Sourceval hash : t -> Jstr.t

hash a is the name of the digest function to use.

OCaml

Innovation. Community. Security.