From 9180a19bf9d2f857db0231ff96371bb00faccab6 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Tue, 17 Apr 2018 12:09:29 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index 4f59d639..9ef665fe 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -289,15 +289,14 @@ end def decrypt_signature(a) a = a.split("") + a.delete_at(0..1) + a = splice(a, 12) + a = splice(a, 49) a.delete_at(0..0) - a = splice(a, 70) - a = splice(a, 15) - a = splice(a, 3) a.reverse! - a.delete_at(0..1) - a.reverse! - a.delete_at(0..1) + a = splice(a, 68) a.reverse! + a.delete_at(0..2) return a.join("") end