添加完整的 Python 包结构和核心功能: - 实现高安全性 API 密钥生成功能,支持自定义长度、前缀和字符集 - 集成 cryptography 库提供加密增强的随机数生成和密钥加密存储 - 添加 pydantic 参数验证模型,确保输入参数安全性 - 实现密钥强度检测机制,基于熵值评估密钥质量 - 支持批量生成密钥,提高使用效率 - 提供完整的测试套件,包括基础功能、增强功能和异常处理测试 - 配置项目构建系统,支持 Python 3.8+ 多版本兼容 - 添加 MIT 许可证和项目元数据配置
5 lines
1.0 KiB
Plaintext
5 lines
1.0 KiB
Plaintext
Copyright (C) 2025 drd_vic
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|