diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-06-15 09:55:19 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-06-15 09:55:19 -0500 |
| commit | 604ae665b61d6b02f683225c36e2c08a8f86fc4d (patch) | |
| tree | 48136b3a90d179e7e01a48b40da8640626e9eefd /src/helpers.cr | |
| parent | 650b8a50fc67dae8cc1eb3186737b1ad20f74f44 (diff) | |
| download | invidious-604ae665b61d6b02f683225c36e2c08a8f86fc4d.tar.gz invidious-604ae665b61d6b02f683225c36e2c08a8f86fc4d.tar.bz2 invidious-604ae665b61d6b02f683225c36e2c08a8f86fc4d.zip | |
Update signature
Diffstat (limited to 'src/helpers.cr')
| -rw-r--r-- | src/helpers.cr | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/helpers.cr b/src/helpers.cr index 728bfbc1..1d0fc537 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,12 +298,10 @@ end def decrypt_signature(a) a = a.split("") - a = splice(a, 62) - a.delete_at(0..0) - a.reverse! a.delete_at(0..2) - a = splice(a, 16) - a.reverse! + a = splice(a, 44) + a.delete_at(0..1) + a = splice(a, 34) return a.join("") end |
