sam.cipher
Class Deal.Key

java.lang.Object
  |
  +--sam.cipher.Key
        |
        +--sam.cipher.Deal.Key
Enclosing class:
Deal

public static class Deal.Key
extends Key

Key implementation that is adapted to the Deal cipher.


Nested Class Summary
 
Nested classes inherited from class sam.cipher.Key
Key.Mode
 
Field Summary
 
Fields inherited from class sam.cipher.Key
asBooleans, asBytes, ASCII, asInts, asLongs, asShorts, BINARY, bits, bitsPerLong, direction, EMPTY, HEXA, IGNORE, mask, OCTAL, PLAIN, UNICODE
 
Constructor Summary
Deal.Key(long[] bits)
          Mandatory constructor implementation.
 
Method Summary
 sam.cipher.Key inverse()
          Inverses this key
 boolean isEmpty()
          Wether this key is empty
 
Methods inherited from class sam.cipher.Key
equals, expandToBytes, expandToInts, expandToLongs, expandToShorts, get1, get16, get32, get64, get8, getBits, getBooleans, getBytes, getInts, getLongs, getShorts, parse, toBytes, toLongs, toLongs, toLongs, toLongs, toLongs, toPassword, toPassword, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Deal.Key

public Deal.Key(long[] bits)
Mandatory constructor implementation.

See Also:
ReflexiveFactory
Method Detail

isEmpty

public boolean isEmpty()
Wether this key is empty

Overrides:
isEmpty in class Key

inverse

public sam.cipher.Key inverse()
Inverses this key

Overrides:
inverse in class Key