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