Closed sjdirect closed 5 years ago
The encryption used in this class is not used for security. its used to turn a string url into a number to save space and make the lookup faster.
I fully understand what it's being used for and that it has nothing to do with security in this case, but if you try to run it on a PC, with FIPS security enabled, it'll fail. Any encryption that is not FIPS compliant will fail/throw an exception.
Another user suggested just using GetHashCode instead of MD5 which seems to work pretty well. May send out a build soon with this fix which should solve your issue.
This was fixed and is available in nuget version 1.6.0.20
This file AbotCrawler\Abot\Core\CompactCrawledUrlRepository.cs uses md5 encryption which incompatible with FIPS, changing it to sha1 encryption fixes the problem.