Perhaps you can generate some sort of hash based on the user's name and company. Then take that hash and generate some sort of combined hash based on the first hash and the product's GUID. Use that final hash to form your key.
Then your program does the same thing (the user must enter their name and company) and if it comes up with the same final hash value, consider it to be valid.
发布评论
评论(1)
也许您可以根据用户名和公司生成某种哈希值。然后获取该哈希并根据第一个哈希和产品的 GUID 生成某种组合哈希。使用最终的哈希值来形成您的密钥。
然后您的程序执行相同的操作(用户必须输入他们的姓名和公司),如果它得出相同的最终哈希值,则认为它是有效的。
Perhaps you can generate some sort of hash based on the user's name and company. Then take that hash and generate some sort of combined hash based on the first hash and the product's GUID. Use that final hash to form your key.
Then your program does the same thing (the user must enter their name and company) and if it comes up with the same final hash value, consider it to be valid.