For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.hash
Class Sha256Spi

java.lang.Object
  extended byjava.security.MessageDigestSpi
      extended bygnu.crypto.jce.hash.MessageDigestAdapter
          extended bygnu.crypto.jce.hash.Sha256Spi
All Implemented Interfaces:
java.lang.Cloneable

public class Sha256Spi
extends MessageDigestAdapter

The implementation of the SHA-2-1 (256-bit) Service Provider Interface (SPI) adapter.

Version:
$Revision: 1.2 $

Constructor Summary
Sha256Spi()
           
 
Method Summary
 java.lang.Object clone()
           
 byte[] engineDigest()
           
 int engineDigest(byte[] buf, int offset, int len)
           
 int engineGetDigestLength()
           
 void engineReset()
           
 void engineUpdate(byte input)
           
 void engineUpdate(byte[] input, int offset, int len)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sha256Spi

public Sha256Spi()
Method Detail

clone

public java.lang.Object clone()

engineGetDigestLength

public int engineGetDigestLength()

engineUpdate

public void engineUpdate(byte input)

engineUpdate

public void engineUpdate(byte[] input,
                         int offset,
                         int len)

engineDigest

public byte[] engineDigest()

engineDigest

public int engineDigest(byte[] buf,
                        int offset,
                        int len)
                 throws java.security.DigestException
Throws:
java.security.DigestException

engineReset

public void engineReset()

For the latest news and information visit
The GNU Crypto project

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