public GTSEncoder(long baseTimestamp,byte[] key){
  this.baseTimestamp=baseTimestamp;
  this.stream=new ByteArrayOutputStream();
  this.wrappingKey=null == key ? null : Arrays.copyOf(key,key.length);
}

public GTSEncoder ( long baseTimestamp , byte [ ] key ) { this . baseTimestamp = baseTimestamp ; this . stream = new ByteArrayOutputStream ( ) ; this . wrappingKey = null == key ? null : Arrays . copyOf ( key , key . length ) ; }
create an encoder using the given base and aes wrapping key .
