{"id":19534890,"url":"https://github.com/newyaroslav/siphash-hpp","last_synced_at":"2025-02-26T03:46:24.146Z","repository":{"id":162735413,"uuid":"415222801","full_name":"NewYaroslav/siphash-hpp","owner":"NewYaroslav","description":"SipHash Headers Only C ++ Library","archived":false,"fork":false,"pushed_at":"2021-10-09T12:29:26.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-08T17:52:11.972Z","etag":null,"topics":["cryptographic-hash-functions","cryptography","hash","pseudorandom-functions","siphash"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NewYaroslav.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":"2021-10-09T06:26:15.000Z","updated_at":"2021-10-09T12:31:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8ecf98e-c081-44db-bddf-1010200e9d22","html_url":"https://github.com/NewYaroslav/siphash-hpp","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/NewYaroslav%2Fsiphash-hpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewYaroslav%2Fsiphash-hpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewYaroslav%2Fsiphash-hpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewYaroslav%2Fsiphash-hpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NewYaroslav","download_url":"https://codeload.github.com/NewYaroslav/siphash-hpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240788749,"owners_count":19857696,"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":["cryptographic-hash-functions","cryptography","hash","pseudorandom-functions","siphash"],"created_at":"2024-11-11T02:16:27.595Z","updated_at":"2025-02-26T03:46:24.016Z","avatar_url":"https://github.com/NewYaroslav.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# siphash-hpp\n\n[SipHash](https://en.wikipedia.org/wiki/SipHash) header only C ++ library\n\nExapmle:\n\n```cpp\n#include \"siphash.hpp\"\n\n\\\\...\n\nstd::array\u003cchar, 16\u003e key = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};\nstd::string data(\"hello\");\n\nstd::cout \u003c\u003c \"SipHash-2-4 for 'hello': \" \u003c\u003c siphash_hpp::siphash_2_4(data, key) \u003c\u003c std::endl;\nstd::cout \u003c\u003c \"SipHash-4-8 for 'hello': \" \u003c\u003c siphash_hpp::siphash_4_8(data, key) \u003c\u003c std::endl;\nstd::cout \u003c\u003c \"SipHash-4-8 for 'hello': \" \u003c\u003c siphash_hpp::siphash(data, key, 4, 8) \u003c\u003c std::endl;\n\nsiphash_hpp::SipHash siphash;\nsiphash.init(key, 2, 4);\nsiphash.update(data);\nstd::cout \u003c\u003c \"SipHash-2-4 for 'hello': \" \u003c\u003c siphash.digest() \u003c\u003c std::endl;\n```\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewyaroslav%2Fsiphash-hpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewyaroslav%2Fsiphash-hpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewyaroslav%2Fsiphash-hpp/lists"}