tool: add keygen tool