spectriclabs/elastic_datashader

Replace MD5 hashing with SHA for FIPS systems

ballenspectric opened this issue · 2 comments

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.

Benchmarks show that sha256 is about 15% faster than md5 as well.