org.dmonix.cipher
Class DMCipherOutputStreamDES
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.dmonix.cipher.DMCipherOutputStream
org.dmonix.cipher.DMCipherOutputStreamDES
- public class DMCipherOutputStreamDES
- extends DMCipherOutputStream
A ciphered output stream that uses the DES algorithm.
Copyright: Copyright (c) 2003
Company: dmonix.org
- Version:
- 1.0
- Author:
- Peter Nerg
| Fields inherited from class java.io.FilterOutputStream |
out |
|
Constructor Summary |
DMCipherOutputStreamDES(java.io.OutputStream ostream,
byte[] key)
A ciphered output stream that uses the DES algorithm. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DMCipherOutputStreamDES
public DMCipherOutputStreamDES(java.io.OutputStream ostream,
byte[] key)
throws java.security.NoSuchAlgorithmException,
java.security.InvalidKeyException,
javax.crypto.NoSuchPaddingException
- A ciphered output stream that uses the DES algorithm.
- Parameters:
ostream - The outputstream 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.