Deleted switch statement for hashing algorithms, using the integer field directly...