private void generateKey() throws Exception {
  KeyGenerator keygen=KeyGenerator.getInstance(ALGO);
  SecretKey key=keygen.generateKey();
  persistKey(key);
}

private void generateKey ( ) throws Exception { KeyGenerator keygen = KeyGenerator . getInstance ( ALGO ) ; SecretKey key = keygen . generateKey ( ) ; persistKey ( key ) ; }
generates a new key and persists it to coordinator
