Skip to content

Commit dab5b98

Browse files
committed
Fix typo.
1 parent 2ccde87 commit dab5b98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py115/_internal/crypto/m115.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from py115._internal.crypto import _rsa, _xor
77

88

9-
_ras_n = [
9+
_rsa_n = bytes([
1010
0x86, 0x86, 0x98, 0x0c, 0x0f, 0x5a, 0x24, 0xc4,
1111
0xb9, 0xd4, 0x30, 0x20, 0xcd, 0x2c, 0x22, 0x70,
1212
0x3f, 0xf3, 0xf4, 0x50, 0x75, 0x65, 0x29, 0x05,
@@ -23,11 +23,11 @@
2323
0x36, 0x42, 0x0c, 0x07, 0xc3, 0x31, 0xb8, 0x71,
2424
0xbf, 0x13, 0x9f, 0x74, 0xf3, 0x01, 0x0e, 0x3c,
2525
0x4f, 0xe5, 0x7d, 0xf3, 0xaf, 0xb7, 0x16, 0x83,
26-
]
26+
])
2727

2828
_rsa_e = 0x10001
2929

30-
_cipher = _rsa.Cipher(_ras_n, _rsa_e)
30+
_cipher = _rsa.Cipher(_rsa_n, _rsa_e)
3131

3232

3333
def generate_key() -> bytes:

0 commit comments

Comments
 (0)