KeyGenerator interface