I'm planning to fix this asap, but I want to add a small program to the book 
to test strfry with input, like './test blah'. This would test both strfry 
and arc4random at the same time.

From what I see of strfry's behavior, the length never changes, and the new 
string uses characters from the old, however the new string may use duplicate 
characters if random chance makes it happen. Like "abcd" can become "ccac". 
It's certainly usefull to preserve this behavior. There should be no future 
problems with the new patch. I doubt strfry is, or ever will be, intended for 
security applications, but in spite of this it's still best to use erandom or 
urandom for entropy.

robert

Attachment: pgpjntJKq7MXB.pgp
Description: PGP signature

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to