{"id":13582806,"url":"https://github.com/Cathedrow/Cryptosuite","last_synced_at":"2025-04-06T17:32:25.786Z","repository":{"id":50647163,"uuid":"687316","full_name":"Cathedrow/Cryptosuite","owner":"Cathedrow","description":"Cryptographic suite for Arduino (SHA, HMAC-SHA)","archived":false,"fork":false,"pushed_at":"2018-08-08T14:43:36.000Z","size":190,"stargazers_count":320,"open_issues_count":18,"forks_count":148,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-11-05T23:41:21.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"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/Cathedrow.png","metadata":{"files":{"readme":"README","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}},"created_at":"2010-05-26T14:15:07.000Z","updated_at":"2024-10-23T20:45:18.000Z","dependencies_parsed_at":"2022-08-27T11:03:12.743Z","dependency_job_id":null,"html_url":"https://github.com/Cathedrow/Cryptosuite","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/Cathedrow%2FCryptosuite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cathedrow%2FCryptosuite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cathedrow%2FCryptosuite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cathedrow%2FCryptosuite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cathedrow","download_url":"https://codeload.github.com/Cathedrow/Cryptosuite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247522658,"owners_count":20952595,"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-08-01T15:03:02.570Z","updated_at":"2025-04-06T17:32:20.770Z","avatar_url":"https://github.com/Cathedrow.png","language":"Java","readme":"Cryptosuite is a cryptographic library for Arduino (including SHA and HMAC-SHA)\n\nIt currently supports secure hashing and hashed message authentication using SHA-1, SHA-256, HMAC-SHA-1 and HMAC-SHA-256.\n\nInstallation:\n  Make a 'libraries' directory with your Arduino sketches folder if you do not already have one.\n  Copy the 'Sha' directory into that directory.\n  Restart Arduino to rescan for new libraries.\n\nUsing SHA-1:\n  #include \"sha1.h\"\n  ...\n  uint8_t *hash;\n  Sha1.init();\n  Sha1.print(\"This is a message to hash\");\n  hash = Sha1.result();\n\n  The hash result is then stored in hash[0], hash[1] .. hash[19].\n\nUsing HMAC-SHA-1:\n  #include \"sha1.h\"\n  ...\n  uint8_t *hash;\n  Sha1.initHmac(\"hash key\",8); // key, and length of key in bytes\n  Sha1.print(\"This is a message to hash\");\n  hash = Sha1.resultHmac();\n\n  The hash result is then stored in hash[0], hash[1] .. hash[19].\n\nUsing SHA-256:\n  #include \"sha256.h\"\n  ...\n  uint8_t *hash;\n  Sha256.init();\n  Sha256.print(\"This is a message to hash\");\n  hash = Sha256.result();\n\n  The hash result is then stored in hash[0], hash[1] .. hash[31].\n\nUsing HMAC-SHA-256:\n  #include \"sha256.h\"\n  ...\n  uint8_t *hash;\n  Sha256.initHmac(\"hash key\",8); // key, and length of key in bytes\n  Sha256.print(\"This is a message to hash\");\n  hash = Sha256.resultHmac();\n\n  The hash result is then stored in hash[0], hash[1] .. hash[31].\n\n\nVerification:\n  The provided example code tests against published test vectors.\n  SHA-1: FIPS 180-2, RFC3174 compliant\n  HMAC-SHA-1: FIPS 198a compliant\n  SHA-256: FIPS 180-2, RFC4231 compliant\n  HMAC-SHA-256:  RFC4231 compliant\n","funding_links":[],"categories":["Java","Libraries"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCathedrow%2FCryptosuite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCathedrow%2FCryptosuite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCathedrow%2FCryptosuite/lists"}