File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,6 @@ def intarr2bin(arr):
3737 return unhexlify ('' .join (["%02x" % byte for byte in arr ]))
3838
3939
40- def long2hexseq (l ):
41- try :
42- return unhexlify (hex (l )[2 :])
43- except TypeError :
44- return unhexlify (hex (l )[2 :- 1 ])
45-
46-
4740def intarr2long (arr ):
4841 return int ('' .join (["%02x" % byte for byte in arr ]), 16 )
4942
Original file line number Diff line number Diff line change 1616from cryptojwt import as_unicode
1717from cryptojwt import b64e
1818from cryptojwt import long2intarr
19- from cryptojwt .jwk import base64url_to_long , NIST2SEC
19+ from cryptojwt .jwk import base64url_to_long
2020from cryptojwt .jwk import base64_to_long
2121from cryptojwt .jwk import DeSerializationNotPossible
2222from cryptojwt .jwk import ECKey
2727from cryptojwt .jwk import keyrep
2828from cryptojwt .jwk import KEYS
2929from cryptojwt .jwk import load_jwks
30- from cryptojwt .jwk import rsa_eq
30+ from cryptojwt .jwk import NIST2SEC
3131from cryptojwt .jwk import RSAKey
3232from cryptojwt .jwk import sha256_digest
3333from cryptojwt .jwk import SYMKey
You can’t perform that action at this time.
0 commit comments