Skip to main content

fastest way to covert ncm file

Project description

前言

这个库是专门用于解密网易云音乐加密音频

这里感谢: https://github.com/anonymous5l/ncmdump 大佬的解密算法,由于python处理的硬伤,处理效率低下,故使用C++封装了个python库供调用以解决该问题

功能说明

该库定义了一个函数 decrypt,用于负责解密文件,且只能对单个文件做解密,因为传参要注意

使用方法

from NetEaseMusicDecrypt import decrypt
MusicFile = "/Users/rizhiyi/github/MusicDecoder/music/张宇-趁早.ncm"
CovertTime = decrypt(MusicFile)
# 单位秒
print(CovertTime)

返回信息

  • 解密正常时返回double型耗时时间
  • 解密异常则返回相关错误信息

TODO

  • 支持直接解密指定目录文件

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

NetEaseMusicDecrypt-1.0.tar.gz (27.1 kB view details)

Uploaded Source

Built Distributions

NetEaseMusicDecrypt-1.0-cp39-cp39-macosx_10_9_x86_64.whl (38.8 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

NetEaseMusicDecrypt-1.0-cp36-cp36m-manylinux1_x86_64.whl (149.7 kB view details)

Uploaded CPython 3.6m

File details

Details for the file NetEaseMusicDecrypt-1.0.tar.gz.

File metadata

  • Download URL: NetEaseMusicDecrypt-1.0.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3

File hashes

Hashes for NetEaseMusicDecrypt-1.0.tar.gz
Algorithm Hash digest
SHA256 4282be2a9183d9d808c8ade691851d71161128de6f4ce5f35a1482f722ddfdd6
MD5 017c5607d8fee575e3be48cf6bafa1db
BLAKE2b-256 ef1305eae8d1ba515c4f87c4b418b64e5b87c02f9373f94963519352b9a143fb

See more details on using hashes here.

File details

Details for the file NetEaseMusicDecrypt-1.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: NetEaseMusicDecrypt-1.0-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 38.8 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3

File hashes

Hashes for NetEaseMusicDecrypt-1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 57f9ed562acadfabb8f5873ec653f1c378335b60c7abc7aaa4abd34dbc587e11
MD5 3233efd1628b4f6c4d2119ffe18c1223
BLAKE2b-256 b51eae272fa59a805fad0507205fe70ae818230fbc9385f0f2c0f337bc2dbd1c

See more details on using hashes here.

File details

Details for the file NetEaseMusicDecrypt-1.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: NetEaseMusicDecrypt-1.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 149.7 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3

File hashes

Hashes for NetEaseMusicDecrypt-1.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4d6bdd24dcc179c489a7e18890f96e965b10d720409b47669ce566c42a000fd5
MD5 155d2e5ce1c8baa124d8756912161542
BLAKE2b-256 d3f6a9b12e841d22d8aabdc4c138e1471dd7d9a6765599edab71ad0f9e06279a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page