diff --git a/src/helpers.cr b/src/helpers.cr index 7f3b55f1a..2a9627247 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -295,12 +295,13 @@ end def decrypt_signature(a) a = a.split("") - a.delete_at(0..1) a.reverse! - a.delete_at(0..1) + a = splice(a, 51) a.reverse! + a = splice(a, 24) a.delete_at(0..2) - a = splice(a, 60) + a = splice(a, 70) + a.reverse! return a.join("") end