Inital attempt of adding algorithm selection to hashing