For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.prng
Class ARCFourRandomSpi

java.lang.Object
  |
  +--java.security.SecureRandomSpi
        |
        +--gnu.crypto.jce.prng.ARCFourRandomSpi
All Implemented Interfaces:
java.io.Serializable

public class ARCFourRandomSpi
extends java.security.SecureRandomSpi

Implementation of the Service Provider Interface (SPI) for the ARCFOUR keystream generator.

See Also:
Serialized Form

Constructor Summary
ARCFourRandomSpi()
          Default 0-arguments constructor.
 
Method Summary
 byte[] engineGenerateSeed(int numBytes)
           
 void engineNextBytes(byte[] bytes)
           
 void engineSetSeed(byte[] seed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARCFourRandomSpi

public ARCFourRandomSpi()
Default 0-arguments constructor.

Method Detail

engineGenerateSeed

public byte[] engineGenerateSeed(int numBytes)
Specified by:
engineGenerateSeed in class java.security.SecureRandomSpi

engineNextBytes

public void engineNextBytes(byte[] bytes)
Specified by:
engineNextBytes in class java.security.SecureRandomSpi

engineSetSeed

public void engineSetSeed(byte[] seed)
Specified by:
engineSetSeed in class java.security.SecureRandomSpi

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003, 2004 Free Software Foundation, Inc.