-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
When I get any blob MD5 checksum using java API, the result is a Base64 string, that, when decoded, is not a MD5 string.
Expected result: the file MD5 checksum string.
Can anyone explain me why getMd5() returns a base64 of a MD5 instead of the MD5 itself?
Environment details
- OS: Linux
- Java version: 1.8.0_172
- google-cloud-java version(s): google-cloud-storage:1.53.0
Steps to reproduce
- Save a blob using bucket.create(completeFilePath, fileByteArray)
- Get the file metadata using storage.get(blobId)
- Get the file MD5 using blob.getMd5()
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.