AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

Add option or toggle to show Blob properties' ContentMD5 in hex (Base16) instead of Base64

Open daiplusplus opened this issue 1 year ago • 1 comments

Preflight Checklist

Problem

All of my tooling works with content hashes, like MD5, uses hexadecimal (Base16 ) representations, not Base64, so whenever I copy a blob's ContentMD5 value from Azure Storage Explorer I need to convert it from Base64 to Base16 which disrupts my workflow.


Examples of tooling that requires Base16, not Base64:

  • SQL Server Management Studio's Grid View shows varbinary values in hexadecimal with an 0x prefix
  • 7-Zip's hash tool (an Explorer.exe shell-extension) shows all hashes in Base16
  • Excel doesn't support Base64, but it does support Base16 (=HEX2DEC and =DEC2HEX)

Desired Solution

A toggle button within the ContentMD5 textbox that flips the display between Base16 and Base64, and the last-used-setting is persisted

Alternatives and Workarounds

No response

Additional Context

If this feature is implemented, I'm not bothered either-way if the box has a leading 0x or not.

daiplusplus avatar Jun 14 '24 06:06 daiplusplus

We have several spots in the app that allow you to select encodings. Could be useful to have a generic "binary field" of sorts that lets you toggle the encoding for the data in the field.

craxal avatar Jun 14 '24 18:06 craxal