Learning hashing algorithms and dusting off my C experience