diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-06-29 10:24:45 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-06-29 10:24:45 -0500 |
| commit | a15c523e1d18bba3db7233f9508badbece271855 (patch) | |
| tree | 0339f0d579a43c9beb24ffe3ebdc57720d1d6ab2 /src | |
| parent | fdf92ddc03ebdb807bc4eacd2120b47dfd74d08d (diff) | |
| download | invidious-a15c523e1d18bba3db7233f9508badbece271855.tar.gz invidious-a15c523e1d18bba3db7233f9508badbece271855.tar.bz2 invidious-a15c523e1d18bba3db7233f9508badbece271855.zip | |
Update signature
Diffstat (limited to 'src')
| -rw-r--r-- | src/helpers.cr | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/helpers.cr b/src/helpers.cr index 23ef7a18..d825e6e6 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,15 +298,11 @@ end def decrypt_signature(a) a = a.split("") + a = splice(a, 3) + a = splice(a, 28) a.delete_at(0..0) - a = splice(a, 14) - a = splice(a, 58) a.reverse! - a.delete_at(0..2) - a = splice(a, 38) - a.reverse! - a = splice(a, 14) - a = splice(a, 23) + a = splice(a, 22) return a.join("") end |
