summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/helpers.cr10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/helpers.cr b/src/helpers.cr
index 23ef7a18..d825e6e6 100644
--- a/src/helpers.cr
+++ b/src/helpers.cr
@@ -298,15 +298,11 @@ end
def decrypt_signature(a)
a = a.split("")
+ a = splice(a, 3)
+ a = splice(a, 28)
a.delete_at(0..0)
- a = splice(a, 14)
- a = splice(a, 58)
a.reverse!
- a.delete_at(0..2)
- a = splice(a, 38)
- a.reverse!
- a = splice(a, 14)
- a = splice(a, 23)
+ a = splice(a, 22)
return a.join("")
end