Friday, October 10, 2014

Encryption Demonstrated

Encryption is a highly effective way of keeping your information private. The gibberish below started off as the text of The Ten Commandments, then rendered indecipherable by an encryption algorithm. Unless you know the secret key. Then it's easy to reverse the process.

B2yJ0hpk+4d+Y0Crqo6R+VweGYpCPqZYZS3IgOOFmlU8vRuCTU65jzQf4HwIVUCV5dtd7fQpt6QaBhvh
yO9bjgdvTvHYm4ZQXGCso7h8BxuleDXl/A9Bxps6lCnp04NEAbbEUg5wLixL+AiyUD4MO6OZ1cB+B7ev
B0t+76V0P62eoyLPk9Pcw7eyUI+IixvPL2IoJyUOHPQkURi2PokPhvgUfgfJZieMklLrndySUr0qCzfX
Vq2Mj7N0T6Gehz6OLkzZTZ42iAfz5w/fDz9yfpOsjq3G++ThLG4FpMD0NNTUjoopdxaL05pNyKiNndf3
o6YApVW0g0MggXnUtBA7EIPbIpIzqIC/BCZjdNG7DLfZbQZ87HdvLgfULUQcPOeJsmidcQzrLHvC0qXb
4jSx2JrrUT0tg2z4xGBh+MIHbQwCZeDq1+cWT2MZicpyz4GiwX3bWfs0DY1hPRjDD+8YQ8YLY25iuJRp
HpC8su8GBa6FVI+WI1pFqxfSgz9YvKsnhhyfkYTjyrLbmvn3aP6qQHbRzIkXWaViilBHiClRrVWsPxIt
DaorhIZrqUdyUuD6

To demonstrate how a small change to the input completely changes the encrypted output, I removed one period from the text and generated the cyphertext again using the same secret key.   Notice how very different it is from the one above. This is a key attribute of a good encryption algorithm.

BqSvG0iqGZvi0/4BWd240zTHrUNd6csaQwBPZn0vY2iwG3VmydYJLWYW4Ym04eL0vVgdPcvlj/0d7AJQ
xDr0U8oQ3W4yUt6rtaDI+jJbyIQiKa7inRkR2X4t4OT1Mj6y77mdx0/dy1jGDuoT+NrMW/QI9YQ69tad
kbOVyG4cfadd2WhIhE4vmUk9V6wvfioZ/Z5ILrWACfc9aglz2liz0+iVY/wH/l9g0fAIMnQEGux/7xVt
KRculeNZWsWor8w6HZ3gZDibuHpGuoOeSxxBXYrueZz24jl5HlqsqqnZ0AfIWSmC6PihQ+xdb/HIA7zg
jPopJjbMC4KSdX+XODS05uMtK5ddvhS6CveRqVpjK611BRVfQ3OsO2MggyLqkCSGfdT8Sp/Zii3KyiA4
QRWF+hOG1A9ytSYV2RmkyrN7FUK4781UsLEGmQyLppYOD/4C/JqgcpeeqVnj8qdxBCZfyQ3/60fm2Q0d
fSXyq4CDsWVRyOBfWNSjBiYljFt8qXe+9nSi7fLbVMDVuLl50gjyZVNbywTazZKfcRUVbl53JulGRTzX
aunzAlP7KKQbgWKK

http://en.wikipedia.org/wiki/Encryption


No comments:

Post a Comment