diff --git a/src/helpers.cr b/src/helpers.cr index c195cc282..728bfbc15 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.delete_at(0..2) - a = splice(a, 41) + a = splice(a, 62) + a.delete_at(0..0) + a.reverse! + a.delete_at(0..2) + a = splice(a, 16) a.reverse! - a.delete_at(0..0) - a = splice(a, 21) - a.delete_at(0..0) return a.join("") end