mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Update signature
This commit is contained in:
parent
6660b2b56b
commit
f7fad7fe85
2 changed files with 4 additions and 6 deletions
|
@ -19,6 +19,6 @@ dependencies:
|
||||||
github: detectlanguage/detectlanguage-crystal
|
github: detectlanguage/detectlanguage-crystal
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
crystal: 0.25.0
|
crystal: 0.25.1
|
||||||
|
|
||||||
license: AGPLv3
|
license: AGPLv3
|
||||||
|
|
|
@ -301,12 +301,10 @@ def decrypt_signature(a)
|
||||||
a = a.split("")
|
a = a.split("")
|
||||||
|
|
||||||
a.reverse!
|
a.reverse!
|
||||||
a = splice(a, 20)
|
a.delete_at(0..2)
|
||||||
|
a = splice(a, 23)
|
||||||
|
a = splice(a, 44)
|
||||||
a.reverse!
|
a.reverse!
|
||||||
a = splice(a, 10)
|
|
||||||
a.delete_at(0..0)
|
|
||||||
a = splice(a, 37)
|
|
||||||
a = splice(a, 32)
|
|
||||||
a.delete_at(0..2)
|
a.delete_at(0..2)
|
||||||
|
|
||||||
return a.join("")
|
return a.join("")
|
||||||
|
|
Loading…
Reference in a new issue