WDYSEncrypt
Class WDYSEncrypter
java.lang.Object
WDYSEncrypt.WDYSEncrypter
- public class WDYSEncrypter
- extends Object
This class encrypts the decrypted WDYS data, 2 times 4 bytes at a time.
- Version:
- 1
- Author:
- Berend "Kirk" Wouda
Method Summary |
byte[] |
encryptQuad(byte[] first,
byte[] second)
Encrypts the given 2x4 bytes into 8 bytes of encrypted data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WDYSEncrypter
public WDYSEncrypter()
- Constructs a new decrypter.
encryptQuad
public byte[] encryptQuad(byte[] first,
byte[] second)
throws IOException
- Encrypts the given 2x4 bytes into 8 bytes of encrypted data.
- Parameters:
first
- The first 4 bytes to encrypt.second
- The second 4 bytes to encrypt.
- Returns:
- The decrypted 8 bytes.
- Throws:
IOException