什么算法用来计算校验位? [英] What algorithm to use to calculate a check digit?

查看:347
本文介绍了什么算法用来计算校验位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么算法,用于计算校验位的数字列表?
的列表的长度是介于8和12个数字。

What algorithm to use to calculate a check digit for a list of digits?
The length of the list is between 8 and 12 digits.

也看到:
如何生成验证code /多少?

see also:
How to generate a verification code/number?

推荐答案

卢恩算法是够用了信用卡行业...

The Luhn algorithm is good enough for the credit card industry...

这篇关于什么算法用来计算校验位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆