From aa20f0424dbaca24e547b0b7f79ee9b5b0d2d814 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Tue, 26 Jun 2018 10:56:04 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index c1fb1364..9c5317b0 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,14 +298,15 @@ end def decrypt_signature(a) a = a.split("") - a.reverse! - a = splice(a, 4) - a = splice(a, 19) - a.delete_at(0..1) - a.reverse! a = splice(a, 65) - a = splice(a, 1) + a.delete_at(0..0) a.reverse! + a = splice(a, 56) + a = splice(a, 49) + a.reverse! + a.delete_at(0..0) + a = splice(a, 60) + a.delete_at(0..0) return a.join("") end