From 7621c8ef2d24ae949afdb086a27562a7db395c61 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Tue, 24 Apr 2018 13:01:43 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index 9ef665fe..851b7e3a 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -289,14 +289,11 @@ end def decrypt_signature(a) a = a.split("") + a.reverse! + a = splice(a, 17) + a = splice(a, 14) a.delete_at(0..1) - a = splice(a, 12) - a = splice(a, 49) - a.delete_at(0..0) a.reverse! - a = splice(a, 68) - a.reverse! - a.delete_at(0..2) return a.join("") end