org.dmonix.cipher
Class DMCipherInputStreamDES

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended byorg.dmonix.cipher.DMCipherInputStream
              extended byorg.dmonix.cipher.DMCipherInputStreamDES

public class DMCipherInputStreamDES
extends DMCipherInputStream

A ciphered input stream that uses the DES algorithm.

Copyright: Copyright (c) 2004

Company: dmonix.org

Version:
1.0
Author:
Peter Nerg

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
DMCipherInputStreamDES(java.io.InputStream istream, byte[] key)
           
 
Methods inherited from class org.dmonix.cipher.DMCipherInputStream
clone, close, initCipher, initCipher, read, read, read
 
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DMCipherInputStreamDES

public DMCipherInputStreamDES(java.io.InputStream istream,
                              byte[] key)
                       throws java.security.NoSuchAlgorithmException,
                              java.security.InvalidKeyException,
                              javax.crypto.NoSuchPaddingException
Parameters:
istream - The input stream to cipher
key - The key, must be exactly 8 bytes long (required by the algorithm)
Throws:
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
javax.crypto.NoSuchPaddingException


Copyright © 1998-2005 dmonix.org Peter Nerg, All Rights Reserved.