From 8e24f4e9e3d12f501d90c225fcc9a7eb41877a7f Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 5 Jul 2018 11:25:06 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index d825e6e6..51f4377a 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,11 +298,14 @@ end def decrypt_signature(a) a = a.split("") - a = splice(a, 3) - a = splice(a, 28) - a.delete_at(0..0) a.reverse! - a = splice(a, 22) + a = splice(a, 20) + a.reverse! + a = splice(a, 10) + a.delete_at(0..0) + a = splice(a, 37) + a = splice(a, 32) + a.delete_at(0..2) return a.join("") end