Nicholas Allen's Indigo Blog

Windows Communication Foundation From the Inside

Security Algorithms

Posts
  • Nicholas Allen's Indigo Blog

    Advances in Certificate Spoofing

    • 0 Comments
    An interesting developing news story in this otherwise slow week has been about a security research effort to spoof SSL certificates . The group has found a way to generate hash collisions between a pair of certificates when the certificate authority...
  • Nicholas Allen's Indigo Blog

    Controlling for Clock Skew

    • 3 Comments
    Message replay is an attack where a message is presented to a processor more than once in the hopes of fooling the processor into taking some action. One protection against message replay and other timing-based attacks is to have the sender timestamp...
  • Nicholas Allen's Indigo Blog

    Math Behind the RSA Algorithm

    • 2 Comments
    This post is to tie up some loose ends in regards to actually performing the RSA computations. I've avoided including too much math in the earlier posts to make them easier to read. Here are some references that help explain the individual steps. ...
  • Nicholas Allen's Indigo Blog

    A More Recent RSA Attack

    • 3 Comments
    One of the interesting things about writing articles ahead of time is that the plan sometimes changes when it's time to publish the articles. It turns out that in the last few weeks someone has found an interesting forgery attack on RSA signatures . This...
  • Nicholas Allen's Indigo Blog

    Attacks on RSA

    • 5 Comments
    RSA has several weaknesses called protocol failures. Protocol failures are not actually an exploit in the RSA algorithm. Instead, a protocol failure occurs when you perform inadvisable actions that give the attacker more information than they would otherwise...
  • Nicholas Allen's Indigo Blog

    Using RSA for Signing Messages

    • 6 Comments
    A nice property of RSA is that if we swap the role of the encryption and decryption keys, it's still possible to transmit messages . That's because the computation (M e ) d mod n is the same as (M d ) e mod n. Typically, messages are encrypted with your...
  • Nicholas Allen's Indigo Blog

    Splitting Messages for RSA

    • 7 Comments
    For your particular pair of RSA primes, there is a fixed size to the messages that can be encrypted with the product, n, of those primes. During decryption, you will always end up with the smallest positive integer message that satisfies the algorithm...
  • Nicholas Allen's Indigo Blog

    Using RSA for Sending Messages

    • 4 Comments
    One of the key points made about the Diffie-Hellman algorithm is that it doesn't actually allow you to send a message from one party to another. DH is useful for constructing a new shared secret value but can't directly be used to exchange an existing...
  • Nicholas Allen's Indigo Blog

    Attacks on Diffie-Hellman

    • 3 Comments
    We're going to continue looking at the Diffie-Hellman algorithm today by examining how to configure the algorithm to be more resistant to attacks. DH is small enough that I'm not going to summarize the algorithm here. You can go back to the description...
  • Nicholas Allen's Indigo Blog

    Diffie-Hellman Key Exchange

    • 10 Comments
    If you've been reading the previous posts on network security , then you've seen several instances where two parties need a shared secret. We've just been assuming that a shared secret is magically known. How can two parties share a secret without having...
  • Nicholas Allen's Indigo Blog

    Advanced Encryption Standard

    • 3 Comments
    The last cipher I'm going to talk about is the Advanced Encryption Standard (AES). With this, we'll have covered about half of the important algorithms needed for a transport security implementation, such as SSL. AES started out as a contest to replace...
  • Nicholas Allen's Indigo Blog

    More Symmetric Cipher Suites

    • 4 Comments
    Block ciphers are more popular than stream ciphers , with several either in active use or recent enough to require supporting for legacy interoperability. I'll talk about the RC2 and DES algorithms today and cover the newer AES algorithm tomorrow. ...
  • Nicholas Allen's Indigo Blog

    Symmetric Cipher Suites

    • 1 Comments
    The list of commonly used stream ciphers is very short because there's really only one. RC4, developed by Ron Rivest, is essentially the only stream cipher that has been widely deployed. RC4 is very fast and found in wireless networking devices, as part...
  • Nicholas Allen's Indigo Blog

    Symmetric Encryption Algorithm Design Issues

    • 1 Comments
    When using symmetric encryption, repetition is the enemy of security. For the basic stream cipher and block cipher algorithms, an attacker can exploit repetition in either the input or key to gain information about the protected message. Stream ciphers...
  • Nicholas Allen's Indigo Blog

    How Stream Ciphers Work

    • 8 Comments
    Yesterday I kicked off the topic of symmetric encryption by talking about block ciphers . Stream ciphers are another common pattern for symmetric encryption algorithm. Unlike block ciphers that operate on chunks of input text, a stream cipher operates...
  • Nicholas Allen's Indigo Blog

    How Block Ciphers Work

    • 11 Comments
    Back in May I gave a brief introduction to encryption and decryption . The next few posts are a short series on symmetric encryption algorithms, which use a shared secret key for both encryption and decryption. I've got a little bit of coverage about...
  • Nicholas Allen's Indigo Blog

    Math Behind the Hashing Birthday Attack

    • 4 Comments
    Last time I was looking at hashing algorithms when I pointed out that finding collisions was easier than reversing a message digest. For a good hashing algorithm, finding a message with a particular digest generally requires looking at as many messages...
  • Nicholas Allen's Indigo Blog

    Basics of Encryption and Hashing

    • 9 Comments
    In the Basics of Transport Security article I wrote a few weeks ago, I introduced three different kinds of security that people care about for their messages. Let's look at the concepts behind implementing two of those types of security. Confidentiality...
Page 1 of 1 (18 items)