From fdf92ddc03ebdb807bc4eacd2120b47dfd74d08d Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 28 Jun 2018 10:22:29 -0500 Subject: [PATCH] Update signature --- src/helpers.cr | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index 09b92ed5..23ef7a18 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -298,15 +298,15 @@ end def decrypt_signature(a) a = a.split("") - a = splice(a, 65) a.delete_at(0..0) + a = splice(a, 14) + a = splice(a, 58) a.reverse! - a = splice(a, 56) - a = splice(a, 49) + a.delete_at(0..2) + a = splice(a, 38) a.reverse! - a.delete_at(0..0) - a = splice(a, 60) - a.delete_at(0..0) + a = splice(a, 14) + a = splice(a, 23) return a.join("") end