code: public static int dekHash(String str) {
  		int hash = str.length();
  
  		for (int i = 0; i < str.length(); i++) {
  			hash = ((hash << 5) ^ (hash >> 27)) ^ str.charAt(i);
  		}
  
  		return hash & 0x7FFFFFFF;
  	}
docs: DEK算法
  
  @param str 字符串
  @return hash值