159
11
Modern pHp encryptIon
Modern encryption techniques have to account for the advances in computer speed
and cost. Cheaper, faster computers allow the building of arrays of CPU power that
calculate a billion plus passwords a second, which has killed MD5 and DES as encryp-
tion methods. is attack capability will continue to improve.
Good encryption needs to overcome the problems of randomness, strength of cipher,
and speed of brute force cracking. To overcome the first problem, cryptographically
secure pseudo random number generators (CSPRNG) have been developed to ensure
very high levels of randomness. If these are not used, then any encryption will already
have a weak link. e second is cipher strength. Newer ciphers employ higher levels of ...