From 609ad873bc0da9a3b8d2b36b0ca01a75cd1c0e83 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 18 May 2018 19:25:22 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index 0ab2ea46..a88e9304 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -294,14 +294,12 @@ end def decrypt_signature(a) a = a.split("") - + a.reverse! - a = splice(a, 51) + a = splice(a, 50) + a.delete_at(0..1) a.reverse! - a = splice(a, 24) a.delete_at(0..2) - a = splice(a, 70) - a.reverse! return a.join("") end