Hi Vinny,
 
Thanks for your time.
 
I've uploaded an empty file and here is what I get from BlobInfo.getMd5Hash():
 
Development Server: d41d8cd98f00b204e9800998ecf8427e
AppEngine Prod: ZDQxZDhjZDk4ZjAwYjIwNGU5ODAwOTk4ZWNmODQyN2U=
 
Hope you can shed some light on this.
I don't expect that it will be fixed in the near future but I really need to know the encoding and hashing algorithm that is used on GAE production, so if someone could take a look into the code would be great.
 
Kind regards,
Stephan
 
 
Gesendet: Dienstag, 11. März 2014 um 04:38 Uhr
Von: "Vinny P" <[email protected]>
An: "[email protected]" <[email protected]>
Betreff: Re: [google-appengine] How is MD5 hash of a blobstore blob encoded?
On Mon, Mar 10, 2014 at 6:27 AM, Stephan Hartmann <[email protected]> wrote:
On the development server BlobInfo.getMd5Hash() returns a String (why not binary array?) that seems to be the hex endoded hash value. I can proof this true with hashing the file locally.
However on Appengine getMd5Hash() returns something different.
It seems to be Base64 encoded, but decoding it with Base64 does not match with what I get locally.
 
 
Can you try uploading an empty file to both your development environment and production App Engine, and seeing what the MD5 hash for each comes out to be?
 
 
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL
 
App Engine Code Samples: http://www.learntogoogleit.com
 

 

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to