fromRandom

fun fromRandom(numBits: Int, random: Random = Random.Default): ASN1Integer

Generates a ASN1Integer with numBits bits of random

Return

a ASN1Integer

Parameters

numBits

number of bits of random, must be positive and divisible by 8.

random

the Random to used for randomness.