Skip to content

Commit

Permalink
Bug fix: add missing conversion of string argument to compute raw md5…
Browse files Browse the repository at this point in the history
… string
  • Loading branch information
Eric Bréchemier committed Mar 2, 2012
1 parent 115bb56 commit f5434a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@

var
concatStory = values.join(';'),
md5AsRawString = rstr_md5(concatStory),
md5AsRawString = rstr_md5(str2rstr_utf8(concatStory)),
md5AsHex = rstr2hex(md5AsRawString),
md5BytesArray = map(md5AsRawString, function(c){
return c.charCodeAt(0);
Expand Down

0 comments on commit f5434a4

Please sign in to comment.