From 3a1a2403f572617408b6ce53f0bd78c90d0c1712 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 28 Mar 2018 18:37:00 -0500 Subject: [PATCH] Update signature function --- src/helpers.cr | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index 4116c7ee..c44405b1 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -244,11 +244,14 @@ def decrypt_signature(a) a = a.split("") a.reverse! - a.delete_at(0..1) - a = splice(a, 67) a.delete_at(0..2) a.reverse! a.delete_at(0..2) + a = splice(a, 38) + a.delete_at(0..0) + a = splice(a, 64) + a.reverse! + a.delete_at(0..1) return a.join("") end