[WIP] done with the hashing api