{"id":15974658,"url":"https://github.com/devzwy/asktaopackagedatahelper","last_synced_at":"2025-03-26T20:31:43.198Z","repository":{"id":65508979,"uuid":"585036449","full_name":"devzwy/AsktaoPackageDataHelper","owner":"devzwy","description":"问道封包读写工具","archived":false,"fork":false,"pushed_at":"2024-10-20T12:20:06.000Z","size":246,"stargazers_count":8,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T11:51:14.697Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devzwy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-04T06:40:38.000Z","updated_at":"2025-03-15T13:44:43.000Z","dependencies_parsed_at":"2024-10-30T05:53:22.332Z","dependency_job_id":null,"html_url":"https://github.com/devzwy/AsktaoPackageDataHelper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devzwy%2FAsktaoPackageDataHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devzwy%2FAsktaoPackageDataHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devzwy%2FAsktaoPackageDataHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devzwy%2FAsktaoPackageDataHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devzwy","download_url":"https://codeload.github.com/devzwy/AsktaoPackageDataHelper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245731538,"owners_count":20663202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T21:43:18.270Z","updated_at":"2025-03-26T20:31:40.315Z","avatar_url":"https://github.com/devzwy.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AsktaoPackageDataHelper\n问道封包读写工具\n\n封装常用工具类\n\n新写项目直接套用即可 1.0.1\n\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.github.devzwy\u003c/groupId\u003e\n  \u003cartifactId\u003easktao_data_helper\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n- 增加测试用例\n```\nsrc/test/java/io/github/devzwy/ExtKtTest.kt\n```\n\n```\n/**\n     * 对明文的密码加密\n     */\n    fun encryptGamePassword(account: String, password: String) =\n        Md5Utils.hash(\"${account}${Md5Utils.hash(password).uppercase()}20070201\").uppercase()\n\n    /**\n     * 计算账号表签名\n     * [account] 传入明文账号\n     * [encryptPassword] 加密后的密码\n     * [privilege] 权限\n     * [goldCoin] 金元宝数量\n     * [silverCoin] 银元宝数量\n     */\n    fun getAccountCheckSum(account: String, encryptPassword: String, privilege: Long, goldCoin: Long, silverCoin: Long) = Md5Utils.hash(\n        \"${account}${encryptPassword}${toHexStr(privilege)}${toHexStr(goldCoin)}${\n            toHexStr(silverCoin)\n        }ABCDEF\"\n    ).uppercase()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevzwy%2Fasktaopackagedatahelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevzwy%2Fasktaopackagedatahelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevzwy%2Fasktaopackagedatahelper/lists"}