org.dmonix.cipher
Class DMCipherInputStreamDES
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.dmonix.cipher.DMCipherInputStream
org.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
| Fields inherited from class java.io.FilterInputStream |
in |
| 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 |
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 cipherkey - 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.