danger.crypto
Class HMAC

java.lang.Object
  |
  +--danger.crypto.HMAC

public class HMAC
extends java.lang.Object


Constructor Summary
HMAC(danger.crypto.Hash h)
           
 
Method Summary
 byte[] digest()
           
 void init(byte[] inKey)
           
static java.lang.String makeBufferPrintable(byte[] in)
           
static java.lang.String makeBufferPrintable(byte[] in, int offset, int length)
           
 void update(byte[] input)
           
 void update(byte[] input, int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HMAC

public HMAC(danger.crypto.Hash h)
Method Detail

init

public void init(byte[] inKey)

update

public void update(byte[] input,
                   int offset,
                   int length)

update

public void update(byte[] input)

digest

public byte[] digest()

makeBufferPrintable

public static java.lang.String makeBufferPrintable(byte[] in,
                                                   int offset,
                                                   int length)

makeBufferPrintable

public static java.lang.String makeBufferPrintable(byte[] in)


Danger Confidential. Copyright © 2000-2003, Danger Inc.