diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-06-21 17:00:38 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-06-21 17:00:38 -0500 |
| commit | be5c925418c01628dc77e71a5fe460dea6445f5d (patch) | |
| tree | 21717378ef8103170af27909d7e9e8f135b4b5ff /src | |
| parent | f5ea832721f376d429fd9cbd33918827db1c3439 (diff) | |
| download | invidious-be5c925418c01628dc77e71a5fe460dea6445f5d.tar.gz invidious-be5c925418c01628dc77e71a5fe460dea6445f5d.tar.bz2 invidious-be5c925418c01628dc77e71a5fe460dea6445f5d.zip | |
Update signature
Diffstat (limited to 'src')
| -rw-r--r-- | src/helpers.cr | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/helpers.cr b/src/helpers.cr index 8e92cbc9..cfa1392c 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,12 +298,13 @@ end def decrypt_signature(a) a = a.split("") - a = splice(a, 60) - a.delete_at(0..1) - a = splice(a, 31) a.reverse! - a = splice(a, 33) - a.delete_at(0..2) + a = splice(a, 7) + a = splice(a, 5) + a = splice(a, 6) + a.reverse! + a = splice(a, 63) + a = splice(a, 13) return a.join("") end |
