开发者

Blackberry PIN verification

开发者 https://www.devze.com 2023-03-13 12:05 出处:网络
Do BlackBerry phone开发者_StackOverflows have any PIN-number verification function, similar to credit cards, which use last digit (a.k.a. check digit) for verification?

Do BlackBerry phone开发者_StackOverflows have any PIN-number verification function, similar to credit cards, which use last digit (a.k.a. check digit) for verification?

I am doing some order processing on my site, and users have to enter their BlackBerry PIN. Of course, once in a while they type it wrong. If there was some known verification function I would be able to spot this right away and ask the user to correct it.


you can try checking the pin that user input was in hex


website using javascript could do check like this

var hex=/^[0-9a-fA-F]*$/; if (hex.test(pin)==false) { do what u want with it }

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号