Symmetric Key authentication
Here is a simple challenge response method for authentication using symmetric key cryptography.
Note: This method of authentication has a subtle security flaw (it is subject to a reflection attack).