From fef2cbc0b22c1a5ef4c0563fbbf57b31bcf5e313 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 7 May 2018 19:56:01 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index 7f3b55f1..2a962724 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