none
md5 hash of blob uploaded to Azure is base64 encoded

    Question

  • 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.

    Eg.

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

    blob.Properties.ContentMD5: c9QoHkamgiKTRANifltOGQ==

    Tuesday, November 01, 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..

    hth
    Marcin

    • Proposed as answer by Md Shihab Wednesday, November 09, 2016 4:29 PM
    Tuesday, November 01, 2016 11:11 AM