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):
37
37
return unhexlify ('' .join (["%02x" % byte for byte in arr ]))
38
38
39
39
40
- def long2hexseq (l ):
41
- try :
42
- return unhexlify (hex (l )[2 :])
43
- except TypeError :
44
- return unhexlify (hex (l )[2 :- 1 ])
45
-
46
-
47
40
def intarr2long (arr ):
48
41
return int ('' .join (["%02x" % byte for byte in arr ]), 16 )
49
42
Original file line number Diff line number Diff line change 16
16
from cryptojwt import as_unicode
17
17
from cryptojwt import b64e
18
18
from cryptojwt import long2intarr
19
- from cryptojwt .jwk import base64url_to_long , NIST2SEC
19
+ from cryptojwt .jwk import base64url_to_long
20
20
from cryptojwt .jwk import base64_to_long
21
21
from cryptojwt .jwk import DeSerializationNotPossible
22
22
from cryptojwt .jwk import ECKey
27
27
from cryptojwt .jwk import keyrep
28
28
from cryptojwt .jwk import KEYS
29
29
from cryptojwt .jwk import load_jwks
30
- from cryptojwt .jwk import rsa_eq
30
+ from cryptojwt .jwk import NIST2SEC
31
31
from cryptojwt .jwk import RSAKey
32
32
from cryptojwt .jwk import sha256_digest
33
33
from cryptojwt .jwk import SYMKey
You can’t perform that action at this time.
0 commit comments