I want to implement a problem solution that requires a hashing function that returns the same output for similar input. The input will be some code and I want the hashing function to ignore the variable names, etc.
If no such hashing function is available then how can I implement this using other hashing algorithms. Any suggestion, please?