Skip to content

Support Encryption of CN Builds - #157

Merged
K0lb3 merged 4 commits into
masterfrom
CN-Encryption
Nov 22, 2022
Merged

K0lb3 merged 4 commits into
masterfrom
CN-Encryption

Conversation

@K0lb3

@K0lb3 K0lb3 commented Nov 22, 2022

Copy link
Copy Markdown
Owner

A port of Razmoth's Unity(CN)'s AssetBundle decryption (src).

def decrypt_key(key: bytes, data: bytes, keybytes: bytes):
from Crypto.Cipher import AES

key = AES.new(keybytes, AES.MODE_ECB).encrypt(key)

Check failure

Code scanning / CodeQL

Use of a broken or weak cryptographic algorithm

The block mode ECB is broken or weak, and should not be used.
@K0lb3
K0lb3 merged commit 9232cdd into master Nov 22, 2022
@K0lb3
K0lb3 deleted the CN-Encryption branch November 22, 2022 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants