1

uuid in yql vs yui/php

Hello,

Have anyone use uuid function in yql as: http://developer.yahoo.com/yql/guide/yql-javascript-objects.html#yql-execute-crypto

I am using uuid function in YQL also in YUI (also php) and saw interesting result are different in the 13th character of the output

In Yui: YUI({ gallery: 'gallery-2012.06.20-20-07' }).use('gallery-yql-crypto', function(Y) { Y.YQLCrypto.md5('http://www.yahoo.com', function (md5HashValue) { alert(md5HashValue); }); res : c5f7ac7a3ec5f014723738c15891a896

In Yql: uuid = y.crypto.uuid('http://www.yahoo.com'); res : c5f7ac7a3ec53014b23738c15891a896

Another example : YUI: e25cca89f551a1e59da217cea12887cc YQL: e25cca89f55131e59da217cea12887cc

Any clue?

Thanks, Chris.

by
1 Reply
  • Solution from a Technical Yahoo!

    y.crypto.encodeMd5Hex( )

    works great!

    0

Recent Posts

in YQL