From e9f214cdc015e00a7b3e04eb73a735b046fd7014 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Tue, 6 Mar 2018 16:59:23 -0600 Subject: [PATCH] Update signature function --- src/helpers.cr | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index 86786876..2d2b9337 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -206,13 +206,17 @@ end def decrypt_signature(a) a = a.split("") - a.reverse! - a.delete_at(0..2) - a = splice(a, 35) - a.delete_at(0) - a.reverse! - a = splice(a, 54) + # a.reverse! + # a.delete_at(0..2) + # a = splice(a, 35) + # a.delete_at(0) + # a.reverse! + # a = splice(a, 54) + a = splice(a, 53) + a = splice(a, 47) + a.delete_at(0..2) + return a.join("") end