NewbieITGal
asked on
openssl and random number generator
Hello All,
I'm trying to learn about encryption with the use of openssl on a laptop with Ubuntu.
I'm trying to use the random number generator in openssl.
When I enter openssl rand in the terminal I don't receive any numbers. It takes my
command but does not output anything. I also have tried openssl rand -hex 4
and nothing happens either.
Could some one tell me what I'm not doing or doing wrong. I had no problem using
openssl for encrypting but the random generator is causing me grief.
Thank you for your help in advance.
I'm trying to learn about encryption with the use of openssl on a laptop with Ubuntu.
I'm trying to use the random number generator in openssl.
When I enter openssl rand in the terminal I don't receive any numbers. It takes my
command but does not output anything. I also have tried openssl rand -hex 4
and nothing happens either.
Could some one tell me what I'm not doing or doing wrong. I had no problem using
openssl for encrypting but the random generator is causing me grief.
Thank you for your help in advance.
$ openssl rand -hex 4
fd537c0d
$ openssl rand -hex 4
5ff23802
$ openssl rand -hex 4
f0440308
$ openssl rand -hex 4
caa280de
$ openssl rand -hex 8
a516e2b31f32cf0f
fd537c0d
$ openssl rand -hex 4
5ff23802
$ openssl rand -hex 4
f0440308
$ openssl rand -hex 4
caa280de
$ openssl rand -hex 8
a516e2b31f32cf0f
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It worked on my friend's newer computer.
Issue command
openssl version
Also try command
openssl rand -base64 128