WDYSEncrypt
Class WDYSEncrypter

java.lang.Object
  extended byWDYSEncrypt.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

Constructor Summary
WDYSEncrypter()
          Constructs a new decrypter.
 
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
 

Constructor Detail

WDYSEncrypter

public WDYSEncrypter()
Constructs a new decrypter.

Method Detail

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