diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-07-05 11:25:06 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-07-05 11:25:06 -0500 |
| commit | 8e24f4e9e3d12f501d90c225fcc9a7eb41877a7f (patch) | |
| tree | 962e72047bf1b3c0f872b997bc4ad899cb2dfb1b /src | |
| parent | a15c523e1d18bba3db7233f9508badbece271855 (diff) | |
| download | invidious-8e24f4e9e3d12f501d90c225fcc9a7eb41877a7f.tar.gz invidious-8e24f4e9e3d12f501d90c225fcc9a7eb41877a7f.tar.bz2 invidious-8e24f4e9e3d12f501d90c225fcc9a7eb41877a7f.zip | |
Update signature
Diffstat (limited to 'src')
| -rw-r--r-- | src/helpers.cr | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/helpers.cr b/src/helpers.cr index d825e6e6..51f4377a 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,11 +298,14 @@ end def decrypt_signature(a) a = a.split("") - a = splice(a, 3) - a = splice(a, 28) - a.delete_at(0..0) a.reverse! - a = splice(a, 22) + a = splice(a, 20) + a.reverse! + a = splice(a, 10) + a.delete_at(0..0) + a = splice(a, 37) + a = splice(a, 32) + a.delete_at(0..2) return a.join("") end |
