{"id":28417186,"url":"https://github.com/kc-2001ms/hashify","last_synced_at":"2025-06-25T22:30:52.511Z","repository":{"id":293750354,"uuid":"985015336","full_name":"KC-2001MS/Hashify","owner":"KC-2001MS","description":"Swift macro to convert a string literal to a hash value","archived":false,"fork":false,"pushed_at":"2025-05-16T23:07:39.000Z","size":18,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T09:34:03.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KC-2001MS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-16T22:59:37.000Z","updated_at":"2025-05-26T05:21:48.000Z","dependencies_parsed_at":"2025-05-17T00:29:51.269Z","dependency_job_id":null,"html_url":"https://github.com/KC-2001MS/Hashify","commit_stats":null,"previous_names":["kc-2001ms/hashify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KC-2001MS/Hashify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KC-2001MS%2FHashify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KC-2001MS%2FHashify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KC-2001MS%2FHashify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KC-2001MS%2FHashify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KC-2001MS","download_url":"https://codeload.github.com/KC-2001MS/Hashify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KC-2001MS%2FHashify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261962087,"owners_count":23236868,"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":"2025-06-04T03:37:21.142Z","updated_at":"2025-06-25T22:30:52.485Z","avatar_url":"https://github.com/KC-2001MS.png","language":"Swift","funding_links":["https://www.buymeacoffee.com/iroiro","https://paypal.me/iroiroWork?country.x=JP\u0026locale.x=ja_JP"],"categories":[],"sub_categories":[],"readme":"# Hashify\nHashify is a Swift macro framework that provides a compile-time hashing feature for string literals.  \nIt helps you hide meaningful strings like keys or identifiers from your binary by replacing them with their hashed versions during compilation.\n\n## Features and Futures\nI would like the framework to have the following features\n- [x] Compile-time hashing of string literals\n- [x] Support for multiple algorithms: SHA256, SHA512, MD5, SHA1\n\n## Usage\nTo hash a string literal at compile time, use the `#hashify(_:algorithm:)` macro:\n```swift\nimport Hashify\n\nlet sha512Result = #hashify(\"Example Strings\", algorithm: .sha512)\n\nprint(\"Example Strings -- SHA-512 -\u003e \\(sha512Result)\")\n```\n\nThe output results are as follows\n```plaintext\nExample Strings -- SHA-512 -\u003e 00e21cd306b86c0d806393e49d2da9f22794392d700898975099ca029ac4c2d4a5eae23519b20f65d9c9471c9074337662a2bd87640a6c42cea07fca 1743b585\n```\n## Installation\nYou can add it to your project using the Swift Package Manager To add Hashify to your Xcode project, select File \u003e Add Package Dependancies... and find the repository URL:  \n`https://github.com/KC-2001MS/Hashify.git`.\n\n## Contributions\nSee [CONTRIBUTING.md](https://github.com/KC-2001MS/Hashify/blob/main/CONTRIBUTING.md) if you want to make a contribution.\n\n## Documents\nDocumentation on the Hashify framework can be found [here](https://iroiro.dev/Hashify/documentation/hashify/).\n\n## License\nThis library is released under Apache-2.0 license. See [LICENSE](https://github.com/KC-2001MS/Hashify/blob/main/LICENSE) for details.\n\n## Supporting\nIf you would like to make a donation to this project, please click here. The money you give will be used to improve my programming skills and maintain the application.  \n\u003ca href=\"https://www.buymeacoffee.com/iroiro\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\n\u003c/a\u003e  \n[Pay by PayPal](https://paypal.me/iroiroWork?country.x=JP\u0026locale.x=ja_JP)\n\n## Author\n[Keisuke Chinone](https://github.com/KC-2001MS)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkc-2001ms%2Fhashify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkc-2001ms%2Fhashify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkc-2001ms%2Fhashify/lists"}