retract custom hash function support