From 2e892e8dd4618f34bc54162acc1f660c903a8328 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 3 Mar 2018 09:51:58 -0600 Subject: [PATCH] Update signature --- src/helpers.cr | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/helpers.cr b/src/helpers.cr index dd62cfc0..ca01400d 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -185,14 +185,12 @@ end def decrypt_signature(a) a = a.split("") - a.delete_at(0..1) - a = splice(a, 2) - a = splice(a, 51) - a = splice(a, 9) - a.delete_at(0..1) a.reverse! - a = splice(a, 15) a.delete_at(0..2) + a = splice(a, 35) + a.delete_at(0) + a.reverse! + a = splice(a, 54) return a.join("") end