Hi,
I'm trying to create YQL table that need authorization.
so, I want to use "y.crypto.encodeSha()" method for get SHA-1 hash string. but return string is different from other method.
Just debugging below:
CODE
y.include('http://oauth.googlecode.com/svn/code/javascript/sha1.js');
y.log(y.crypto.encodeSha('abc')); // using native method.
y.log(hex_sha1('abc')); // using external method.
results:
CODE
<log>qZk+NkcGgWq6PiVxeFDCbJzQ2J0=</log>
<log>a9993e364706816aba3e25717850c26c9cd0d89d</log>