Using Python 3.3: import base64 base64.urlsafe_b64decode(s)
Ask HN: Decode Youtube 500 page
11–20 of 21 posts
Re: Ask HN: Decode Youtube 500 page
#12I have once set out to write a module for Nodejs for the same purpose, but never finished it. Can't really see a downside in this way of reporting errors.
Re: Ask HN: Decode Youtube 500 page
#13Re: Ask HN: Decode Youtube 500 page
#14Re: Ask HN: Decode Youtube 500 page
#15The code is indeed very useful to debug issues. When asked for it by YouTube, please provide the actual text rather than a screenshot...I get sent the screenshot a lot and then I have to use OCR software in order to decode it.
Re: Ask HN: Decode Youtube 500 page
#16Perhaps questions like this one should be asked somewhere else, possibly StackOverflow: http://stackoverflow.com/questions/21681084/decoding-youtube...
Re: Ask HN: Decode Youtube 500 page
#17Perhaps questions like this one should be asked somewhere else, possibly StackOverflow: http://stackoverflow.com/questions/21681084/decoding-youtube...
Isn't that OT?
( I used to like SO very much and I hope someone will come up a similar site with more useful guidelines. : )
Re: Ask HN: Decode Youtube 500 page
#18Re: Ask HN: Decode Youtube 500 page
#19Earlier quoted context omitted.
CBC mode AES?
More likely a header. It's 3081 byte blob after base64 decoding. If we consider it's encrypted with some block cipher with 128 or 256-bit blocks (IV and/or MAC would be likely to be 128-bit, too), there are 9 bytes for some header and/or padding.
Re: Ask HN: Decode Youtube 500 page
#20An analysis of this can be found here: http://www.cambus.net/decoding-youtube-http-error-500-messag...