md5 hash of blob uploaded to Azure is base64 encoded


  • It looks like the md5 hash of a file uploaded to Azure blob storage is base64 encoded.

    I fail to understand the logic behind this as it requires an extra step to decode this md5 hash before comparing for consistency.


    Local MD5 hash: sÔ(F¦‚"“Db~[N

    blob.Properties.ContentMD5: c9QoHkamgiKTRANifltOGQ==

    Tuesday, November 1, 2016 7:52 AM

All replies

  • As far as I understand, its the same reason base64 encoding is used in the first place - to facilitate transmission of data without the loss of the content by converting it to an ASCII string..


    • Proposed as answer by Md Shihab Wednesday, November 9, 2016 4:29 PM
    Tuesday, November 1, 2016 11:11 AM
  • You can convert online to hex (for example compare with openssl md5):

    Tuesday, October 30, 2018 10:47 AM