GET PSEUDO RANDOM

Get pseudo-random data from device.

Description

Extract a fixed number of pseudo-random bytes from the device, using the internal PRNG.

Shell Example

yubihsm> get random 0 16
bd50979da2d1bca13d8d735abf419556

Protocol Details

Command

Tc = 0x51

Lc = 2

Vc = B

B := Number of pseudo-random bytes to extract (2 bytes)

Response

Tr = 0xd1

Lr = B

Vr = R

R := Random data (B bytes)