diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-04-24 13:01:43 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-04-24 13:01:43 -0500 |
| commit | 7621c8ef2d24ae949afdb086a27562a7db395c61 (patch) | |
| tree | 350333f96a6d5aa1d25c1605ea1b44aace807268 /src | |
| parent | 742fa6a705b14ef196b0a0e76cfb1ec7f7291bee (diff) | |
| download | invidious-7621c8ef2d24ae949afdb086a27562a7db395c61.tar.gz invidious-7621c8ef2d24ae949afdb086a27562a7db395c61.tar.bz2 invidious-7621c8ef2d24ae949afdb086a27562a7db395c61.zip | |
Update signature
Diffstat (limited to 'src')
| -rw-r--r-- | src/helpers.cr | 9 |
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 |
