Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 47a0430

Browse files
committed
Note change of SVG ID generation from MD5 to SHA512 #18192
1 parent 4f0b353 commit 47a0430

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ID attribute of XML tags in SVG files now based on SHA256 rather than MD5
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
Matplotlib generates unique ID attributes for various tags in SVG files.
5+
Matplotlib previously generated these unique IDs using the first 10
6+
characters of an MD5 hash. The MD5 hashing algorithm is not available in
7+
Python on systems with Federal Information Processing Standards (FIPS)
8+
enabled. Matplotlib now uses the first 10 characters of an SHA256 hash
9+
instead. SVG files that would otherwise match those saved with earlier
10+
versions of matplotlib, will have different ID attributes.

0 commit comments

Comments
 (0)