Skip to content

Instantly share code, notes, and snippets.

@pixeldesu
Created March 22, 2015 12:25
Show Gist options
  • Save pixeldesu/81692fcdda621d72212a to your computer and use it in GitHub Desktop.
Save pixeldesu/81692fcdda621d72212a to your computer and use it in GitHub Desktop.
Where TweetDeck Enhancer uses CryptoJS
function GetPreferencesIdentifierFromCrypto() {
if (typeof CryptoJS !== "undefined") {
return CryptoJS.SHA3(TD.storage.store._backend.guestID); // 512 bit SHA-3? yes please
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment