Skip to main content

utils for dash development

Project description

nokiao-utils-components

nokiao-utils-components 是一个 Dash 组件库,提供常用的工具组件用于 Dash 应用开发。

安装

pip install nokiao_utils_components

组件

CalcHash

计算字符串的多种哈希值(MD5、SHA256、SHA384、SHA512)。

输入属性

属性 类型 必填 说明
value string 要计算哈希的输入字符串
withTimeSuffix boolean 是否添加时间后缀(默认 false)。启用后会在输入值后追加当前时间戳,可用于验证时间有效性,防止重放攻击

输出属性

属性 类型 说明
md5Value string MD5 哈希值(32位十六进制)
sha256Value string SHA256 哈希值(64位十六进制)
sha384Value string SHA384 哈希值(96位十六进制)
sha512Value string SHA512 哈希值(128位十六进制)

使用示例

python usages\calc_hash.py

Project details


Download files

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

Source Distribution

nokiao_utils_components-0.0.1.tar.gz (40.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nokiao_utils_components-0.0.1-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file nokiao_utils_components-0.0.1.tar.gz.

File metadata

  • Download URL: nokiao_utils_components-0.0.1.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for nokiao_utils_components-0.0.1.tar.gz
Algorithm Hash digest
SHA256 aa1269bea52b93a8e1f04e311e13a18d0fb7d3b0e0753eb5b446ec09b7fd1113
MD5 d46e4d4e655e2386f504034f2747389b
BLAKE2b-256 a62a52caca1213cea63580ef8a01122c81dddbda7762cedfd7d890e53133f113

See more details on using hashes here.

File details

Details for the file nokiao_utils_components-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nokiao_utils_components-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 141ec833169a538dabfa49cf7de404b5257008197d36429baf87a67d2c07ae51
MD5 6bb1c772f42f325ce3dc395cd36e00c5
BLAKE2b-256 89560563c6663b2df27c367cbe447b241c8f9d7943cafeb668ba47e29e5748e0

See more details on using hashes here.

Supported by

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