work towards generating pub keys from priv keys