summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-04-24 13:01:43 -0500
committerOmar Roth <omarroth@hotmail.com>2018-04-24 13:01:43 -0500
commit7621c8ef2d24ae949afdb086a27562a7db395c61 (patch)
tree350333f96a6d5aa1d25c1605ea1b44aace807268
parent742fa6a705b14ef196b0a0e76cfb1ec7f7291bee (diff)
downloadinvidious-7621c8ef2d24ae949afdb086a27562a7db395c61.tar.gz
invidious-7621c8ef2d24ae949afdb086a27562a7db395c61.tar.bz2
invidious-7621c8ef2d24ae949afdb086a27562a7db395c61.zip
Update signature
-rw-r--r--src/helpers.cr9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/helpers.cr b/src/helpers.cr
index 9ef665fe..851b7e3a 100644
--- a/src/helpers.cr
+++ b/src/helpers.cr
@@ -289,14 +289,11 @@ end
def decrypt_signature(a)
a = a.split("")
- a.delete_at(0..1)
- a = splice(a, 12)
- a = splice(a, 49)
- a.delete_at(0..0)
a.reverse!
- a = splice(a, 68)
+ a = splice(a, 17)
+ a = splice(a, 14)
+ a.delete_at(0..1)
a.reverse!
- a.delete_at(0..2)
return a.join("")
end