From 7234785145bf3d1cb60c7d8e8a4713e730295403 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 14 Jun 2018 18:56:20 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index c195cc28..728bfbc1 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,13 +298,12 @@ end def decrypt_signature(a) a = a.split("") - a = splice(a, 21) - a.delete_at(0..2) - a = splice(a, 41) + a = splice(a, 62) + a.delete_at(0..0) + a.reverse! + a.delete_at(0..2) + a = splice(a, 16) a.reverse! - a.delete_at(0..0) - a = splice(a, 21) - a.delete_at(0..0) return a.join("") end