I was working on support for Hulu Japan for the xbmc hulu plugin.
The api app and api secret for hulu desktop don't authenticate hulu japan users. I noticed you ported the hulu api authentication code so thought you might be able to help. It could be useful to add support for Japanese links to get-flash-videos.
I plan to use the android app and secret to authenticate Japanese users. I MITM the https connections to get the api app value.
b50795ef027112acc028192ad4bb890d31560da7
I was trying to reverse the secret value from the application classes. I found the relavent code but I am having trouble replicating the decryption of the app and secret values. They are stored AES encrypted and then are decrypted when needed.
Code:
AES_KEY hex = 684402241a605b496944fd8b4807c6d48523db006b441a688023db02134d2710
encApp hex = 10ebd4c0523a1b8569c40429c22f31047cc4c754609a834f0b98a0250d996b0c9e48580eb99447c8b4c9bfdeefcfc274
decApp string = b50795ef027112acc028192ad4bb890d31560da7
encSecret hex = 63e2f07c57580d7b14ef3a7493eecc807061bd4af7b733284cd7f2f23b3958be
They do a bitwise AND of each byte with 0xFF before using the encrypted data and key. I wrote some code to try to decrypt the App properly as a test. I can't seem to get it to work right.
All I really need is the decrypted secret. I just have not been able to properly decrypt it. I could provide my test python decryption code or the relevant android classes I am referencing. Thanks for any response.