public static byte[] createHash(string passWord)
 {
     byte[] res;
     try
     {
         if (string.IsNullOrWhiteSpace(passWord))
         {
             throw new EmpException("you should mention a password");
         }
         else
         {
             res = EmpDal.comPuteHash(passWord);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
     return(res);
 }