From 5e572c46100d6d97c9925c52d1a5cc6e901e6c3f Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 6 Jun 2018 13:20:09 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index 023bea2f..75aa5c78 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,11 +298,13 @@ end def decrypt_signature(a) a = a.split("") - a.reverse! - a = splice(a, 50) - a.delete_at(0..1) - a.reverse! + a = splice(a, 21) a.delete_at(0..2) + a = splice(a, 41) + a.reverse! + a.delete_at(0..0) + a = splice(a, 21) + a.delete_at(0..0) return a.join("") end