Class CamaKey

  extended by jcama.CamaKey

public final class CamaKey
extends java.lang.Object

Creates 64 bit keys from strings and data arrays. Keys are used to identify scope type and role type.

Constructor Summary
CamaKey(byte[] data)
          creates a new key a byte array.
CamaKey(java.lang.String str)
          creates a new key from a string.
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public CamaKey(java.lang.String str)
creates a new key from a string. The string must be at least 8 characters long


public CamaKey(byte[] data)
creates a new key a byte array. The array must contain at least 8 elements