For the latest news and information visit
The GNU Crypto project

gnu.crypto.mac
Class UHash32.L3Hash32

java.lang.Object
  extended bygnu.crypto.mac.UHash32.L3Hash32
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
UHash32

class UHash32.L3Hash32
extends java.lang.Object
implements java.lang.Cloneable

Third hash stage of the UHash32 algorithm. Input: K1 string of length 64 bytes. K2 string of length 4 bytes. M string of length 16 bytes. Returns: Y, string of length 4 bytes.


Constructor Summary
(package private) UHash32.L3Hash32(byte[] K1, byte[] K2)
           
 
Method Summary
 java.lang.Object clone()
           
(package private)  byte[] digest(byte[] M)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UHash32.L3Hash32

UHash32.L3Hash32(byte[] K1,
                 byte[] K2)
Parameters:
K1 - string of length 64 bytes.
K2 - string of length 4 bytes.
Method Detail

clone

public java.lang.Object clone()

digest

byte[] digest(byte[] M)
Parameters:
M - string of length 16 bytes.
Returns:
Y, string of length 4 bytes.

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.