The Wayback Machine - https://web.archive.org/web/20201123234142/https://github.com/giventocode/azure-blob-md5
Skip to content

Asynchronously computes the MD5 hash of blobs in Azure Blob Storage to maximize performance. Azure blob MD5 computes the hash of several blobs concurrently. Local files are also supported so that you can use this functionality as a validation step for your data transfers to Azure blob storage.

master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Azure Blob MD5

Go Report Card

Asynchronously computes the MD5 hash of blobs in Azure Blob Storage to maximize performance. Azure blob MD5 computes the hash of several blobs concurrently. Local files are also supported so that you can use this functionality as a validation step for your data transfers to Azure blob storage.

Getting Started

Pre-requisites

Install Go

Get and build from the source.

go get github.com/giventocode/azure-blob-md5
go build -o bmd5 github.com/giventocode/azure-blob-md5

Set the credentials to the storage account via the environment variables.

export ACCOUNT_NAME=<YOUR_ACCOUNT_NAME>
export ACCOUNT_KEY=<YOUR_ACCOUNT_KEY>

Examples

The following calculates the MD5 hash for the blob file in container docs

./bmd5 -b file -c docs

You can use the -m option to set the Content-MD5 property of the blob after the MD5 hash is calculated.

./bmd5 -m -b file -c docs

Calculating the MD5 hash for local files is supported.

./bmd5 -f file

Blobs and local files can be set and MD5 hashes will be calculated for both sources. The target scenario is validation of a data uploads.

./bmd5 -f file -b file -c docs

About

Asynchronously computes the MD5 hash of blobs in Azure Blob Storage to maximize performance. Azure blob MD5 computes the hash of several blobs concurrently. Local files are also supported so that you can use this functionality as a validation step for your data transfers to Azure blob storage.

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.