Jesper Stemann Andersen<p>So, why is <a href="https://mastodon.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a> involved in the blame for <a href="https://mastodon.social/tags/MicrosoftAzure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MicrosoftAzure</span></a> CLI upload to blob storage being weird?</p><p>Due to how <a href="https://mastodon.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a> computes an MD5, and returns an array of 16 bytes instead of the more common hexadecimal string (the output of `xxd -r -p` in the cautionary tale).</p><p><a href="https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.md5?view=net-10.0#remarks" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">learn.microsoft.com/en-us/dotn</span><span class="invisible">et/api/system.security.cryptography.md5?view=net-10.0#remarks</span></a></p><p>An MD5 string is 32 bytes, so <a href="https://mastodon.social/tags/Microsoft" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Microsoft</span></a> saved 16 bytes by making it less easy to get an MD5 string... <a href="https://mastodon.social/tags/640kEnoughForAnyone" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>640kEnoughForAnyone</span></a></p><p><a href="https://mastodon.social/tags/MicrosoftLogic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MicrosoftLogic</span></a> <a href="https://mastodon.social/tags/ShamelessTechShaming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ShamelessTechShaming</span></a> <a href="https://mastodon.social/tags/LegacyTech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LegacyTech</span></a> <a href="https://mastodon.social/tags/LegacyCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LegacyCode</span></a></p>