Added crypt lib
Added crypt function to encode a users password
Added unit tests for crypt lib