Implementation of API name hashing algorithim