On Tuesday 11 September 2007 19:54, you wrote:
> Author: nextgens
> Date: 2007-09-11 18:54:26 +0000 (Tue, 11 Sep 2007)
> New Revision: 15126
> 
> Modified:
>    branches/freenet-jfk/src/freenet/crypt/SHA256.java
>    branches/freenet-jfk/src/freenet/node/FNPPacketMangler.java
> Log:
> * Reduce the size of HKr
> * Compute the HMAC using SHA256
> 
> Modified: branches/freenet-jfk/src/freenet/crypt/SHA256.java
> ===================================================================
> --- branches/freenet-jfk/src/freenet/crypt/SHA256.java        2007-09-10 
> 23:06:21 
UTC (rev 15125)
> +++ branches/freenet-jfk/src/freenet/crypt/SHA256.java        2007-09-11 
> 18:54:26 
UTC (rev 15126)
> @@ -415,4 +415,8 @@
>       public static int getDigestLength() {
>               return HASH_SIZE;
>       }
> +     
> +     public static Digest getInstance() {
> +             return new SHA256();
> +     }

I don't understand what this is for. Where do we use SHA256 directly? Normally 
we use a static factory method to get a MessageDigest ... ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20070921/47f75713/attachment.pgp>

Reply via email to