问题描述
我想知道如何序列号发电机和验证工作。我的目标是将生成数字和字母组成的五个部分的序列号只。
I wondering about how serial number generators and validator work. My aim would be to generate a serial number with five parts consisting of numbers and letters only.
我喜欢编码作为一种业余爱好,不会称自己为一个专业的程序员。然而,我在这些有趣的功能是如何工作的技术上,以扩大我的心很感兴趣。
I enjoy coding as a hobby and would not call myself a professional programmer. However, I am very interested in how those interesting functions work technically to broaden my mind.
任何提示,经验或书面的算法是AP preciated。
Any hints, experiences or written algorithms are appreciated.
推荐答案
布兰登·斯塔格斯写了一篇好文章的Implementing一个部分序列号验证系统。这些例子都写在Delphi中,但可以转换成其他语言。
Brandon Staggs wrote a good article on Implementing a Partial Serial Number Verification System. The examples are written in Delp but could be converted to other languages.
这篇关于出于好奇:如何序列号产生的?提示,算法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!