Replace MD5 hashing with SHA for FIPS systems
ballenspectric opened this issue · 2 comments
ballenspectric commented
Systems that are FIPS 140-2 compliant do not support MD5 hashing. The datashader server currently uses MD5 to hash request parameters and to create color palettes, which will throw an exception on FIPS systems. It should be easy enough to replace this with SHA1 or SHA256.
ballenspectric commented
Benchmarks show that sha256 is about 15% faster than md5 as well.
ballenspectric commented
Fixed in 2cf0e77