# bn_random

## NAME

**bn_random** - takes one named arguments need to returns a message passing interface with the given amount of bits.

## SYNOPSIS

*str* **bn_random**(key: str, buf: str);

**bn_random** It takes one named arguments need to returns a message passing interface with the given amount of bits.

## DESCRIPTION

bn_random generates a MPI (message passing interface) with a given amount of bits.


## RETURN VALUE

bn_random

## ERRORS

Returns NULL when a given parameter is null.

## SEE ALSO

**[bn_cmp(3)](bn_cmp.md)**,
