Created
November 22, 2016 13:37
-
-
Save maciejzgadzaj/b761724aaf0051653a81131e8c5e1e2f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$siren = mt_rand(100000000, 999999999); | |
$key = (12 + 3 * ($siren % 97)) % 97; | |
print 'FR' . $key . $siren; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Python: