mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
Remove QCA usage in JSResolver
This commit is contained in:
@@ -312,6 +312,11 @@ Tomahawk.asyncRequest = function (url, callback, extraHeaders, options) {
|
||||
};
|
||||
|
||||
Tomahawk.sha256 = Tomahawk.sha256 || CryptoJS.SHA256;
|
||||
Tomahawk.md5 = Tomahawk.md5 || CryptoJS.MD5;
|
||||
// Return a HMAC (md5) signature of the input text with the desired key
|
||||
Tomahawk.hmac = function (key, message) {
|
||||
return CryptoJS.HmacMD5(message, key);
|
||||
};
|
||||
|
||||
// some aliases
|
||||
Tomahawk.setTimeout = Tomahawk.setTimeout || window.setTimeout;
|
||||
|
Reference in New Issue
Block a user