Wrox Programmer Forums
|
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 30th, 2004, 11:13 PM
kiw kiw is offline
Registered User
 
Join Date: Oct 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default random seed?

I wanna how Java get a random seed from the functions such as setseed()? Beacuse I am afraid the random number is not safety enough!

 
Old October 31st, 2004, 03:27 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have read that Java uses the time in milleseconds to seed random numbers. I do not know whether or not this is true though.






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to seed or increment NEWID() value suji SQL Server 2005 4 February 19th, 2008 02:45 PM
Altering the Identity seed value g_vamsi_krish SQL Language 2 July 7th, 2006 12:58 AM
setting seed for autonumber in access dcary69 Access 1 October 5th, 2004 12:37 PM
Random Numbers not so random... katsarosj ASP.NET 1.0 and 1.1 Basics 5 November 20th, 2003 12:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.