Azure / Azure/azure-sdk-for-rust

Azure Storage specific CRC64 Algorithm Implementation

Open
#2,303 1 comment 2 reactions 1 assignee Claimed by @seanmcc-msft View on GitHub
customer-reported Storage
Dominant language
Rust
Stars
884
Forks
365
Avg merge
2d 19h
Merged PRs (30d)
112

Description

### Feature Summary

CRC64 Algorithm Implementation

### Feature Description

Hey, I'm replacing MD5 with CRC64 (security improvements) for content validation when PUTing a blob but I'm encountering a blocker. The CRC64 algorithm used by Azure Storage uses a custom CRC64 implementation of ECMA-182. This is accessible from the [StorageCrc64HashAlgorithm](https://learn.microsoft.com/en-us/dotnet/api/azure.storage.storagecrc64hashalgorithm?view=azure-dotnet) class but not from your rust SDK. This would require interfacing with an implementation of the C# library.

Note: I've tried several CRC crates but none of them implement Azure's specific CRC64 algorithm.

Can you add an implementation of the Azure Storage CRC64 algorithm so it easily accessible from the azure_storage_blobs SDK?

### Use Case

_No response_

### Alternatives

_No response_

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.