From c37db5b206e5a04e6fdaf4e35e4f4e085bf750fd Mon Sep 17 00:00:00 2001 From: LesterEvSe Date: Fri, 18 Oct 2024 12:27:47 +0300 Subject: [PATCH] feat: delete unnecessary func --- etc/utils.sage | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/etc/utils.sage b/etc/utils.sage index 33f0795..b466b28 100644 --- a/etc/utils.sage +++ b/etc/utils.sage @@ -6,14 +6,4 @@ def num_to_bytes(num): while num > 0: res.append(num & 0xff) num >>= 8 - return res - -def get_limbs(num): - num = int(num) - res = [0] * 3 - module = 0xffffffffffffffffffffffffffffff - - for i in range(len(res)): - res[i] = num & module - num >>= 120 return res \ No newline at end of file