Skip to content

Commit

Permalink
feat: delete unnecessary func
Browse files Browse the repository at this point in the history
  • Loading branch information
LesterEvSe committed Oct 18, 2024
1 parent d161aa0 commit c37db5b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions etc/utils.sage
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c37db5b

Please sign in to comment.