🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8193

Re: MessageDigest classes

#8193
From: Russell
Date: Wed, 11 Apr 2001 02:36
28 lines
1716 bytes
Hi Joi ,

  Thanks for your info. 

  I have another question , how to generate a unique random password for
users.
  Using Random or SecureRandom classes ?? 
  Some sample code is much appreciate thanks.

Thanks.

"Joi Ellis [TeamB]" wrote:
> 
> Russell <weetat@cesma.com.sg> wrote:
> [snip]
> 
> >    How to store the String create from MessageDigest to the database ?
> >    Because the string created from MessageDigest is rubbish. So how to
> > do it ?
> 
> Your byte[] test is a sequence of binary numbers.  I convert mine back to
> something readable by converting it to printable hex digits.
> 
> --
> Joi Ellis (TeamB)
> No direct email, please.
> For best results, post on news server newsgroups.borland.com!
> Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <3AD3C325.4FE306DA@cesma.com.sg>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3AD2EDAB.305B7332@cesma.com.sg> <3ad31b5c_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,63f26b82aa2df12d
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-04-10 19:50:12 PST
Message-ID: <3AD3C325.4FE306DA@cesma.com.sg>
Date: Wed, 11 Apr 2001 10:36:21 +0800
From: Russell <weetat@cesma.com.sg>
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.13-0.13 i686)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: MessageDigest classes
References: <3AD2EDAB.305B7332@cesma.com.sg> <3ad31b5c_1@dnews>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 203.126.155.39
X-Trace: dnews 986956021 203.126.155.39 (10 Apr 2001 19:27:01 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews