I have more than 15 years experience in developing applications in various languages.
I have worked on encryption of various artifacts like files, exe files, streams and so on.
I also have written licensing systems to generate licensing keys and associate them with different types of licences like individual licenses, enterprise licenses, floating licenses and so on.
I will be able to provide you with the solution you are looking for.