21.03.2013 Views

Problem - Kevin Tafuro

Problem - Kevin Tafuro

Problem - Kevin Tafuro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RAND_bytes( ), 604<br />

RAND_load_file( ), 604<br />

random( ), 570<br />

random identifiers, usage in email<br />

confirmations, 447<br />

random nonces vs. sequential, 134<br />

random number generation for shared<br />

secret, 435<br />

random numbers, 568–646<br />

data with entropy, compressing into a<br />

fixed-size seed, 613<br />

determining what kind to use, 568–573<br />

entropy harvesters and PRNGs, 569<br />

entropy gathering (see entropy, gathering)<br />

generating on Unix without /dev/random<br />

and urandom devices, 594–599<br />

generic API for, 573<br />

OpenSSL random number API, 603–605<br />

pseudo-random number generators (see<br />

PRNGs)<br />

random floating-point values, getting<br />

nonuniform distribution, 609<br />

uniform distribution, 608<br />

random integer in a range,<br />

getting, 606–608<br />

random integers, getting, 605<br />

random printable ASCII strings<br />

converting to, 611<br />

generating, security and string<br />

length, 611<br />

shuffling fairly, 612<br />

statistically testing, 615–621<br />

continuous output test, 619–620<br />

power-up and on-demand<br />

tests, 617–619<br />

Unix, generating in, 575–579<br />

Windows, generating in, 580<br />

RAND_pseudo_bytes( ), insecurity of, 605<br />

RAND_seed( ), 604<br />

RAND_write_file( ), 604<br />

RAs (registration authorities), 506<br />

raw data, hexadecimal representation, 120<br />

RC2 algorithm, effective key bits function,<br />

OpenSSL, 228<br />

RC4 algorithm, 158, 159<br />

limits as random number source, 588<br />

LION, 215<br />

setting up and using, 233–236<br />

stream cipher as PRNG, 587<br />

supported key sizes, 226<br />

using in self-modifying code, 694–699<br />

754 | Index<br />

RC5 algorithm<br />

number of rounds, configuration in<br />

OpenSSL, 228<br />

supported key sizes, 226<br />

RDTSC instruction, 151<br />

vs. gettimeofday( ), 153<br />

read( ), 576<br />

read_data( ), 61<br />

readpassphrase( ), 393<br />

readpassphrase.h header file, 394<br />

real vs. effective user and group IDs, 17<br />

realpath( ), 97<br />

thread-safety, lack of, 97<br />

REBUILD_VAR macro, 669<br />

recipes, xxii<br />

for Unix, xxii<br />

for Windows, xxii<br />

OS compatibility, xxii<br />

registration authorities (RAs), 506<br />

relative paths, 4<br />

remove_private_key( ), 330<br />

replay attacks, sequential nonces, prevention<br />

using, 134<br />

representing binary keys as hexadecimal, 120<br />

representing keys and certificates in plaintext<br />

(PEM encoding), 355–361<br />

representing keys for use in cryptographic<br />

algorithms, 117<br />

representing keys (or other binary data) as<br />

English text, 128<br />

representing public keys and certificates in<br />

binary (DER encoding), 352–355<br />

resource starvation attacks<br />

preventing, 727–734<br />

on Unix, 727–730<br />

on Windows, 730–734<br />

restricted tokens, 8<br />

restricting access permissions for new files<br />

(Unix), 55<br />

restricting filesystem access on Unix, 68<br />

restricting filesystem and network access on<br />

BSD, 69<br />

restricting privileges, 7–16<br />

RetrieveWebData( ), 560<br />

RFC 822, email syntax, 101<br />

Rijndael, 228<br />

ring0 debuggers, 685<br />

RIPEMD-160 algorithm, 257<br />

Rivest, Ron, 257, 314<br />

RMAC, 261, 281<br />

rollback attacks, 161, 492<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!