From 604ae665b61d6b02f683225c36e2c08a8f86fc4d Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 15 Jun 2018 09:55:19 -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 728bfbc1..1d0fc537 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,12 +298,10 @@ end def decrypt_signature(a) a = a.split("") - a = splice(a, 62) - a.delete_at(0..0) - a.reverse! a.delete_at(0..2) - a = splice(a, 16) - a.reverse! + a = splice(a, 44) + a.delete_at(0..1) + a = splice(a, 34) return a.join("") end