Making Code Slower

Ever seen a situation where the code has to be slowed down for a purpose? Here it is from Microsoft: šŸ™‚

Even Office 2007, Microsoft’s most recent version, was nearly saddled with a serious encryption bug. One part of every encryption system is the portion that handles passwords. The relevant code in Office 2007 was simply too well-written; because it worked so quickly, a crypto-attacker could rapidly progress through all possible password variations. Someone caught the error before the product was shipped and rewrote the software to make it slower–50,000 times slower, as it happened. It may be one of the few times in software history that programmers deliberately made a program run slower rather than faster.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s