Operating System - HP-UX
1751811 Members
5425 Online
108781 Solutions
New Discussion юеВ

Random string generation in KSH

 
SOLVED
Go to solution
Enrico Venturi
Super Advisor

Random string generation in KSH

Hello colleagues,
how can I generate random strings in Korn shell?

thanks
Enrico
3 REPLIES 3
Pete Randall
Outstanding Contributor

Re: Random string generation in KSH

Enrico,

I used to use a rather crude script to generate 4 random characters for passwords. See attached.


Pete

Pete
F Verschuren
Esteemed Contributor
Solution

Re: Random string generation in KSH

just type
set |grep RANDOM
Navin Bhat_2
Trusted Contributor

Re: Random string generation in KSH

Hello Enrico,
You could use the strong random number generator KRNG11i. It is very secure and has high performance.

Here where to download free and read about it.
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=KRNG11I