diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-06-14 18:56:20 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-06-14 18:56:20 -0500 |
| commit | 7234785145bf3d1cb60c7d8e8a4713e730295403 (patch) | |
| tree | 4c8d45220dce307c17c6cc63ec634af03565d60f | |
| parent | d89ccc4d50156dbf63cb467ab9b782edf4a816f2 (diff) | |
| download | invidious-7234785145bf3d1cb60c7d8e8a4713e730295403.tar.gz invidious-7234785145bf3d1cb60c7d8e8a4713e730295403.tar.bz2 invidious-7234785145bf3d1cb60c7d8e8a4713e730295403.zip | |
Update signature
| -rw-r--r-- | src/helpers.cr | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/helpers.cr b/src/helpers.cr index c195cc28..728bfbc1 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,13 +298,12 @@ end def decrypt_signature(a) a = a.split("") - a = splice(a, 21) + a = splice(a, 62) + a.delete_at(0..0) + a.reverse! a.delete_at(0..2) - a = splice(a, 41) + a = splice(a, 16) a.reverse! - a.delete_at(0..0) - a = splice(a, 21) - a.delete_at(0..0) return a.join("") end |
