From 8d97ecaeb14bf6eec9a381e00387577a95436eba Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 28 Mar 2018 16:38:40 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index bedaa132..4116c7ee 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -243,15 +243,12 @@ end def decrypt_signature(a) a = a.split("") - a = splice(a, 12) - a = splice(a, 18) a.reverse! + a.delete_at(0..1) + a = splice(a, 67) a.delete_at(0..2) a.reverse! a.delete_at(0..2) - a = splice(a, 69) - a.reverse! - a.delete_at(0..2) return a.join("") end