{"id":18578976,"url":"https://github.com/patrickmn/picugen","last_synced_at":"2025-04-10T10:31:24.054Z","repository":{"id":57560393,"uuid":"2194244","full_name":"patrickmn/picugen","owner":"patrickmn","description":"A general-purpose hash/checksum generator","archived":false,"fork":false,"pushed_at":"2012-12-27T22:45:28.000Z","size":129,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T04:32:09.260Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://patrickmn.com/projects/picugen/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrickmn.png","metadata":{"files":{"readme":"README","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}},"created_at":"2011-08-11T22:41:44.000Z","updated_at":"2023-11-18T06:52:39.000Z","dependencies_parsed_at":"2022-08-26T06:41:29.061Z","dependency_job_id":null,"html_url":"https://github.com/patrickmn/picugen","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/patrickmn%2Fpicugen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickmn%2Fpicugen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickmn%2Fpicugen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickmn%2Fpicugen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickmn","download_url":"https://codeload.github.com/patrickmn/picugen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199136,"owners_count":21063641,"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-11-06T23:38:28.126Z","updated_at":"2025-04-10T10:31:23.695Z","avatar_url":"https://github.com/patrickmn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Picugen is a cryptographic and non-cryptographic hash/checksum generator written in Go.\nIt can be used to easily obtain digests of strings and files using a large variety of\nalgorithms including MD5, SHA-1, and SHA-256.\n\nUsage: picugen [-a \u003calgorithm\u003e] [-salt \u003csalt\u003e] [-s \u003cstring to hash\u003e] / \u003cfile(s) to hash\u003e\n\nExamples:\n  picugen -a md5 document.txt                Generate MD5 digest of a file\n  picugen -a md5 *                           Generate MD5 digests of all files in folder\n  picugen -a sha1 -s hello world             Generate SHA-1 digest of a string\n  picugen -a sha1 -salt s4lt -s hello world  Generate salted SHA-1 digest of a string\n  picugen -a hmacsha1 -k k3y -s untouched    Generate HMAC of a string using SHA-1\n\nAvailable algorithms (default is SHA-256):\n  adler32         Adler-32 checksum (RFC 1950)\n  crc32           32-bit cyclic redundancy check (CRC-32) checksum (defaults to IEEE polynomial)\n  crc32castagnoli CRC-32 using the Castagnoli polynomial (0x82f63b78)\n  crc32ieee       CRC-32 using the IEEE polynomial (0xedb88320)\n  crc32koopman    CRC-32 using the Koopman polynomial (0xeb31d82e)\n  crc64           64-bit cyclic redundancy check (CRC-64) checksum (defaults to ISO polynomial)\n  crc64ecma       CRC-64 using the ECMA polynomial (0xC96C5795D7870F42)\n  crc64iso        CRC-64 using the ISO polynomial (0xD800000000000000)\n  fnv             FNV-1 non-cryptographic hash (defaults to fnv32)\n  fnv32           32-bit FNV-1\n  fnv32a          32-bit FNV-1a\n  fnv64           64-bit FNV-1\n  fnv64a          64-bit FNV-1a\n  hmac            Keyed-Hash Message Authentication Code (HMAC) (requires -k \u003ckey\u003e) (defaults to SHA-256)\n  hmacmd5         HMAC using MD5 (requires -k \u003ckey\u003e)\n  hmacsha1        HMAC using SHA-1 (requires -k \u003ckey\u003e)\n  hmacsha256      HMAC using SHA-256 (requires -k \u003ckey\u003e)\n  hmacsha512      HMAC using SHA-512 (requires -k \u003ckey\u003e)\n  md4             MD4 hash (RFC 1320)\n  md5             MD5 hash (RFC 1321)\n  ripemd160       RIPEMD-160 hash\n  sha1            SHA-1 hash (RFC 3174)\n  sha224          SHA-224 hash (FIPS 180-2)\n  sha256          SHA-256 hash (FIPS 180-2)\n  sha384          SHA-384 hash (FIPS 180-2)\n  sha512          SHA-512 hash (FIPS 180-2)\n\nNote: For complex strings, put the string in a file, then run Picugen on\n      the file. (Don't add newlines to the file as they will alter the output.)\n\nSample output:\n\n# picugen /bin/bash\n664c1834f30f83c97f48b1f364b8368bb0c9949a8fedd29413bb16d70a6e41c6  /bin/bash\n\n# picugen -salt s3cr3t -s p4ssw0rd\nbcd4a8f23d02931039f0296ca6164f3942b1629b12001bc8e6ffec4df8884848\n\n# picugen -a md5 /etc/*.conf\n2081f795b0f92490c1c3f00b964e36de  /etc/adduser.conf\n7f4c49e01e0a23d2f4b20eeb32e95abb  /etc/blkid.conf\n9c7fa15fd6d8f34a0267101f051f107b  /etc/ca-certificates.conf\n8c0619be413824f1fc7698cee0f23811  /etc/debconf.conf\n527e6a57d0bc9f7c1b1aca2071f3da00  /etc/deluser.conf\n7e84402ab9129df85117336840b3d78f  /etc/ffserver.conf\n629c0e2f8276b26c29b95f7ed53074d7  /etc/gai.conf\nca3e32b09c7bfda7e7e3580a587e3c2b  /etc/hdparm.conf\n89408008f2585c957c031716600d5a80  /etc/host.conf\n4cdcca89f13642d97f1044c647d19e2e  /etc/insserv.conf\nf41f22e0d7f16d43f59f682c78224348  /etc/kernel-img.conf\n6fb908bd3381b55ee942b261a701aea4  /etc/kerneloops.conf\n4317c6de8564b68d628c21efa96b37e4  /etc/ld.so.conf\n...\n\n# picugen -a hmacsha1 -k 0r4cl3 -s this message is verifiable with the key\n15dabc3b4c2cc60c216970a0723f24a3ffc4d4ca\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickmn%2Fpicugen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickmn%2Fpicugen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickmn%2Fpicugen/lists"}