On Wed, Sep 06, 2017 at 11:13:08AM -0300, Adonay Felipe Nogueira wrote:
> If by "non-trivial" you mean "not so simple", then read on:

Yes, this is what I mean.

> To understand how ytDecryptSignature() function comes to existance, I
> decided to test with a video that is known to trigger the "signature
> decryption". The video is:
...
> --8<---------------cut here---------------start------------->8---
> try {
>     var yE = {
>         CT : function(a, b) {
>            a.splice(0, b)
>         },
>         Jj : function(a, b) {
>            var c = a[0];
>            a[0] = a[b % a.length];
>            a[b] = c
>         },
>         c1 : function(a) {
>            a.reverse()
>         }
>     };
>     a = a.split("");
>     yE.CT(a, 3);
>     yE.Jj(a, 51);
>     yE.Jj(a, 36);
>     yE.CT(a, 3);
>     return a.join("")
> } catch(e) {
>   return null
> }
> --8<---------------cut here---------------end--------------->8---

I believe this is simple. this is not comparable to real crypto
primitives like SHA1 or even Salsa20.

Attachment: signature.asc
Description: Digital signature

Reply via email to