dct hash works