From be5c925418c01628dc77e71a5fe460dea6445f5d Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 21 Jun 2018 17:00:38 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index 8e92cbc9..cfa1392c 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,12 +298,13 @@ end def decrypt_signature(a) a = a.split("") - a = splice(a, 60) - a.delete_at(0..1) - a = splice(a, 31) a.reverse! - a = splice(a, 33) - a.delete_at(0..2) + a = splice(a, 7) + a = splice(a, 5) + a = splice(a, 6) + a.reverse! + a = splice(a, 63) + a = splice(a, 13) return a.join("") end