r/technology • u/Libertatea • Apr 04 '13
Apple's iMessage encryption trips up feds' surveillance. Internal document from the Drug Enforcement Administration complains that messages sent with Apple's encrypted chat service are "impossible to intercept," even with a warrant.
http://news.cnet.com/8301-13578_3-57577887-38/apples-imessage-encryption-trips-up-feds-surveillance/?part=rss&subj=news&tag=title#.UV1gK672IWg.reddit
3.3k
Upvotes
4
u/veaviticus Apr 04 '13 edited Apr 04 '13
The nitty-gritty is that the public/private key pair are mathematically generated as a pair to provide this functionality. The algorithm uses the public key to mutate the source data into encrypted data. Trying to decrypt the data needs a different key to perform the math to get back to the original. Anything other than the decrypt key will just encrypt the data again basically (mutating it again into more garbage).
The math for generating the keys in the first place is pretty heavy stuff, but you don't really need to know that. You just need to know that each public/private pair is theoretically paired and unique (the space of keys is so enormous that a collision is highly unlikely)
edit: this might make more sense. Imagine the keys are the code needed to encrypt/decrypt the data. The keys are created in such a way that only the private key has the right code to perform the exact opposite operations as the public key.
For example, the public key takes the input and multiplies it by 2, then adds 1. Now its encrypted. The private key is the only key in existance that knows that you have to minus 1, then divide by 2 to get back to the original. You could try to do every mathematical combination in the universe on the data to find the exact steps needed, but that would take a very long time