AES crypting is from star-0.1
MD5 hash is from  pam-0.72
some changes by Sergey Pugachev <fd_rag@linux.ru.net>
-----------
All other code is mine.