The only authorized way to "generate" license information for modern Cisco hardware is through a . Instead of static keys, Cisco now uses a cloud-based pooling system.
If you find unauthorized licenses, contact a Cisco partner immediately to true up. Many offer amnesty for voluntary reporting.