# coding:utf-8
#JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。
def BKDRHash(sourceStr):
seed = 131
hash = 0
for ch in sourceStr:
# print('ch=' + ch)
hash = hash * seed + ord(ch)
return hash & 0x7FFFFFFF
source = "gaid#b9b8dd4f-ed5f-475a-992a-cb484d3572c4"
print(source)
print(BKDRHash(source))