[OWASP_PHPSEC] Concatenating random numbers

rahul chaudhary rahul300chaudhary400 at gmail.com
Sat Sep 28 20:04:55 UTC 2013


Hello All,

I have this doubt that if I concatenate two smaller random numbers to
generate a larger random number, then will that affect security ?

Suppose I have two 32 length random numbers and I concatenated them and
created a 64 length random number.
str1 (length 64) = generated by concatenating two 32 length strings
str2 (length 64) = generated directly from the function

Now which of those two strings are more secure ?

-- 
Regards,
Rahul Chaudhary
Ph - 412-519-9634
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp_php_security_project/attachments/20130928/edf7ab8f/attachment.html>


More information about the OWASP_PHP_Security_Project mailing list