From a15c523e1d18bba3db7233f9508badbece271855 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 29 Jun 2018 10:24:45 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index 23ef7a18..d825e6e6 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,15 +298,11 @@ end def decrypt_signature(a) a = a.split("") + a = splice(a, 3) + a = splice(a, 28) a.delete_at(0..0) - a = splice(a, 14) - a = splice(a, 58) a.reverse! - a.delete_at(0..2) - a = splice(a, 38) - a.reverse! - a = splice(a, 14) - a = splice(a, 23) + a = splice(a, 22) return a.join("") end