[
http://opensource.atlassian.com/projects/hibernate/browse/ANN-508?page=co...
]
Guilherme de Azevedo Silveira commented on ANN-508:
---------------------------------------------------
brazilian portuguese (pt-br):
número inválido de cartão de crédito
@CreditCardNumber for Hibernate Validator
-----------------------------------------
Key: ANN-508
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-508
Project: Hibernate Annotations
Type: New Feature
Components: validator
Reporter: Gavin King
Assignee: Emmanuel Bernard
Fix For: 3.2.2
I just dicovered the existence of the Luhn algorithm ;-) Very cool.
http://en.wikipedia.org/wiki/Luhn_algorithm
Here is a Java impl:
http://www.darkcanyongroup.com/code/luhn_algorithm.txt
We should have a built-in validator for this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira