Skip to main content

cp.py

Python 소스 코드 암호화 및 복호화 도구입니다.

기능

  1. 암호화 (cp en <파일경로>):

    • 원본 파이썬 코드를 강력한 대칭키(AES-GCM / Fernet)로 암호화합니다.
    • 대상 파이썬 파일 자체는 실행 불가능하게 난독화/암호화 래퍼 코드로 교체됩니다.
    • 대상 파일이 위치한 동일 폴더에 복호화 키 파일인 .cpde가 생성됩니다.
  2. 복호화 (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)

Table of built distributions (wheels) for cppy-obf 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

0.1.2

1 release file

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page