Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.security > #66

Re: MessageDigest Length

From "Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Subject Re: MessageDigest Length
Message-ID <4k03s3t148p3s0esnds18io3e9dedaj337@4ax.com> (permalink)
Newsgroups comp.lang.java.security
References <dcaa8c53-2b2d-4495-83f6-81e3442f4d8f@i29g2000prf.googlegroups.com>
Date 2011-04-27 16:07 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.security
On Tue, 11 Dec 2007 17:18:45 -0800 (PST), sean@onset.com.au wrote,
quoted or indirectly quoted someone who said :

>Does anyone know if there is a way of setting the length of the hashed
>value returned from a message digest?

each algorithm has a standard fixed length. If you want a different
length, use a different algorithm.

See http://mindprod.com/jgloss/digest.html
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.security | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

MessageDigest Length "sean" <sean@THRWHITE.remove-dii-this> - 2011-04-27 16:07 +0000
  Re: MessageDigest Length "Robert Kochem" <robert.kochem@THRWHITE.remove-dii-this> - 2011-04-27 16:07 +0000
    Re: MessageDigest Length "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 16:07 +0000
  Re: MessageDigest Length "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 16:07 +0000
  Re: MessageDigest Length "Maarten Bodewes" <maarten.bodewes@THRWHITE.remove-dii-this> - 2011-04-27 16:08 +0000
    Re: MessageDigest Length "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 16:08 +0000
      Re: MessageDigest Length "Maarten Bodewes" <maarten.bodewes@THRWHITE.remove-dii-this> - 2011-04-27 16:08 +0000
        Re: MessageDigest Length "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 16:08 +0000
        Re: MessageDigest Length "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 16:08 +0000
        Re: MessageDigest Length "rmoldskr+usenet" <rmoldskr+usenet@THRWHITE.remove-dii-this> - 2011-04-27 16:08 +0000

csiph-web