From a50ff5cffb5894a978ce5289eb3ab19eaf62c679 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 23 Jun 2018 11:43:29 -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 cfa1392c..c1fb1364 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -299,12 +299,13 @@ def decrypt_signature(a) a = a.split("") a.reverse! - a = splice(a, 7) - a = splice(a, 5) - a = splice(a, 6) + a = splice(a, 4) + a = splice(a, 19) + a.delete_at(0..1) + a.reverse! + a = splice(a, 65) + a = splice(a, 1) a.reverse! - a = splice(a, 63) - a = splice(a, 13) return a.join("") end