k0z1 wrote:Was googling encryption/decryption trying to find some tutorials to get started off on. I can't seem to find any and was wondering if anyone knew some helpful sites I could visit to get a basic understanding of how encryption works. Thank You.
http://www.hoozi.com/Articles/AESEncryption.htmI was reading this the other day.. It breaks down the cipher so that you can understand how it works. I don't know how well you'll follow the documentation as it's not really aimed at beginners in cryptography but I enjoyed reading through it so you might learn a little
------------ Mini tutorial: ------------
It might help if you went through examples of basic XOR (exclusive-or) encryption using a one-time-pad and tried to write your own implementation. It teaches you the basics behind symmetrical operations like:
[
ciphertext-character] = [
plaintext-character] XOR [
key-character]
In this example let's say the
plaintext is "money" and the
key is "68131". (I'm using numbers because the XOR operation would yield results outside of printable characters, but in reality you can use anything) I'll use ^ in the example below.. This means a bitwise XOR operation (not an exponent!)
Ascii values:
'm' = 109
'o' = 111
'n' = 110
'e' = 101
'y' = 121'6' = 54
'8'= 56
'1' = 49
'3' = 51
'1' = 49So:
109 ^
54 =
91111 ^
56 =
87110 ^
49 =
95101 ^
51 =
86121 ^
49 =
72or alternatively (in ascii form):
m ^
6 =
[o ^
8 =
Wn ^
1 =
_e ^
3 =
Vy ^
1 =
HSo "
[W_VH" = "
money" ^ "
68131"
You can then reverse this process to give you the plaintext:
[
plaintext-character] = [
ciphertext-character] XOR [
key-character]
91 ^
54 =
10987 ^
56 =
11195 ^
49 =
11086 ^
51 =
10172 ^
49 =
121or alternatively (in ascii form):
[ ^
6 =
mW ^
8 =
o_ ^
1 =
nV ^
3 =
eH ^
1 =
ySo "
money" = "
[W_VH" ^ "
68131"
-------------------------------------
I hope this means something to you.. I've just thrown together a little example of XOR encryption using a one-time-pad there. It's a pretty simple concept and might get your feet wet if you hadn't seen it before..
If you don't know what XOR is or does, check out the wiki:
http://en.wikipedia.org/wiki/Exclusive_or and it'll give you the truth-tables for it. It's a pretty simple concept and I'm sure reading around will get your head around it if you haven't already.