{"id":26962270,"url":"https://github.com/djwoodz/farming-simulator-hash","last_synced_at":"2025-04-03T05:19:38.461Z","repository":{"id":281231389,"uuid":"944615455","full_name":"DJWoodZ/farming-simulator-hash","owner":"DJWoodZ","description":"Outputs the hash of a given file using the same algorithm as the GIANTS `getFileMD5()` function.","archived":false,"fork":false,"pushed_at":"2025-03-07T17:42:20.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T18:33:23.887Z","etag":null,"topics":["farming-simulator","farming-simulator-22","farming-simulator-25","fs22","fs25","hash","md5","powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DJWoodZ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-03-07T16:58:00.000Z","updated_at":"2025-03-07T17:42:23.000Z","dependencies_parsed_at":"2025-03-07T18:33:29.058Z","dependency_job_id":"2940cf7c-7693-4a59-b8c5-e4c4b49143e6","html_url":"https://github.com/DJWoodZ/farming-simulator-hash","commit_stats":null,"previous_names":["djwoodz/farming-simulator-hash"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJWoodZ%2Ffarming-simulator-hash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJWoodZ%2Ffarming-simulator-hash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJWoodZ%2Ffarming-simulator-hash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJWoodZ%2Ffarming-simulator-hash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DJWoodZ","download_url":"https://codeload.github.com/DJWoodZ/farming-simulator-hash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246939682,"owners_count":20858002,"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":["farming-simulator","farming-simulator-22","farming-simulator-25","fs22","fs25","hash","md5","powershell"],"created_at":"2025-04-03T05:19:37.679Z","updated_at":"2025-04-03T05:19:38.456Z","avatar_url":"https://github.com/DJWoodZ.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Farming Simulator Hash (getFileMD5)\n===================================\n\nThis PowerShell script outputs the hash of a given file using the same algorithm as the GIANTS `getFileMD5()` function.\n\nUsage\n-----\n\n```powershell\n.\\getFileMD5.ps1 \u003cFilePath\u003e [\u003cCustomBaseName\u003e] [-Debug]\n```\n\n* `\u003cFilePath\u003e`: The path to the file to hash.\n* `\u003cCustomBaseName\u003e`: Optional. A custom base name to use instead of the file base name.\n* `-Debug`: Optional. Enable debug information output.\n\nAlgorithm\n---------\n\nThe algorithm is as follows:\n\n1. Read the contents of the file.\n2. Concatenate the file contents with the derived or provided base name (file name without extension).\n3. Compute the MD5 hash of the concatenated data.\n\nExample Usage\n-------------\n\n```powershell\n.\\getFileMD5.ps1 'file.zip'\n```\n\n```powershell\n.\\getFileMD5.ps1 'file.zip' 'My_Base_Name'\n```\n\n```powershell\n.\\getFileMD5.ps1 'file.zip' -Debug\n```\n\n```powershell\n.\\getFileMD5.ps1 'file.zip' 'My_Base_Name' -Debug\n```\n\n```powershell\n.\\getFileMD5.ps1 'C:\\path\\to\\your\\file.zip'\n```\n\n```powershell\n.\\getFileMD5.ps1 'C:\\path\\to\\your\\file.zip' 'My_Base_Name'\n```\n\n```powershell\n.\\getFileMD5.ps1 'C:\\path\\to\\your\\file.zip' -Debug\n```\n\n```powershell\n.\\getFileMD5.ps1 'C:\\path\\to\\your\\file.zip' 'My_Base_Name' -Debug\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjwoodz%2Ffarming-simulator-hash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjwoodz%2Ffarming-simulator-hash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjwoodz%2Ffarming-simulator-hash/lists"}