cp.py
Python 소스 코드 암호화 및 복호화 도구입니다.
기능
-
암호화 (
cp en <파일경로>):- 원본 파이썬 코드를 강력한 대칭키(AES-GCM / Fernet)로 암호화합니다.
- 대상 파이썬 파일 자체는 실행 불가능하게 난독화/암호화 래퍼 코드로 교체됩니다.
- 대상 파일이 위치한 동일 폴더에 복호화 키 파일인
.cpde가 생성됩니다.
-
복호화 (
cp de <파일경로>):- 동일 폴더의
.cpde키 파일을 읽어 대상 파일을 원본 코드로 복원합니다. - 복호화 완료 후 키 파일(
.cpde)은 정리(삭제/이동)됩니다.
- 동일 폴더의
설치 및 사용법
# 로컬 개발 모드 설치
pip install -e .
# 또는 패키지 빌드 후 설치
pip install .
명령어
# 암호화
cp en target.py
# 복호화
cp de target.py
Metadata
Release files for cppy-obf 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cppy_obf-0.1.0-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
Release files / cppy_obf-0.1.0-cp311-cp311-win_amd64.whl
| Download URL | cppy_obf-0.1.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 876.4 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c68d8dbd6a4b7c48c46a257162c7eb5c4edfbcf163f6d078f76725d7e661a86d
|
|
BLAKE2b-256 checksum How to use checksums |
c7a8386de1944b354437cf769cb2e385414a0d8e88c9e50f742c4dbc6be73b01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|