Hello,
Can you provide more information on this project? You can generate a key through an algorithm, or you can generate random keys and store them in a database (a much more secure method, but requires an internet connection.)
Thank you, and I look forward for the chance to work with you!