Generate Hexcode in php

updaccupE

New Member
basically i want to create a pin in digit only and token in HEXADECIMAL form and exact same length of 32bit and pin length is 5bit.like a pin code i have \[quote\] PIN: 15458 and its token code is Toke: 93f23ed246e7b2c47b5dbc6a341f2354 PIN: 60703 and its token code is Token: 43e0e636d3f6b17615c96e2b5a9a908a\[/quote\]i want something like this programatically in php, asp, c#, javascript whatever is suitable to generate easily.In which i can use in series like FOR LOOP statement \[code\]for($a = 10000; $a<60000; $a++){ echo $a." = ". token algorithm exactly like mentioned aboved.}\[/code\]suppose the for loop statement reaches $a = 15458then it generate a token 93f23ed246e7b2c47b5dbc6a341f2354token algorithm is the actual thing which i want.
 
Back
Top