class AergoKeyGenerator implements KeyGenerator<AergoKey> {

  @Override
  public AergoKey create() {
    try {
      final ECDSAKey ecdsaKey = ecdsaKeyGenerator.create();
      return new AergoKey(ecdsaKey);
    } catch (Exception e) {
      throw new HerajException(e);
    }
  }

}