diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-04-17 12:09:29 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-04-17 12:09:29 -0500 |
| commit | 9180a19bf9d2f857db0231ff96371bb00faccab6 (patch) | |
| tree | 543e5d8cddadd74434081f112bf46938e4f4d60d /src | |
| parent | fd609ee7e53f6da19270f6dd8cbc3ffa03fc7e3e (diff) | |
| download | invidious-9180a19bf9d2f857db0231ff96371bb00faccab6.tar.gz invidious-9180a19bf9d2f857db0231ff96371bb00faccab6.tar.bz2 invidious-9180a19bf9d2f857db0231ff96371bb00faccab6.zip | |
Update signature
Diffstat (limited to 'src')
| -rw-r--r-- | src/helpers.cr | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/helpers.cr b/src/helpers.cr index 4f59d639..9ef665fe 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -289,15 +289,14 @@ end def decrypt_signature(a) a = a.split("") - a.delete_at(0..0) - a = splice(a, 70) - a = splice(a, 15) - a = splice(a, 3) - a.reverse! a.delete_at(0..1) + a = splice(a, 12) + a = splice(a, 49) + a.delete_at(0..0) a.reverse! - a.delete_at(0..1) + a = splice(a, 68) a.reverse! + a.delete_at(0..2) return a.join("") end |
