code: public static int bernstein(String key) {
  		int hash = 0;
  		int i;
  		for (i = 0; i < key.length(); ++i) {
  			hash = 33 * hash + key.charAt(i);
  		}
  		return hash;
  	}
docs: Bernstein's hash
  
  @param key 输入字节数组
  @return 结果hash