Hopefully this link will help you - Secret Key Cryptography Tutorial