hash algs

for #13