{"id":16712781,"url":"https://github.com/aead/siphash","last_synced_at":"2025-03-21T20:33:25.545Z","repository":{"id":43149183,"uuid":"63162942","full_name":"aead/siphash","owner":"aead","description":"Go implementation of SipHash-64/128","archived":false,"fork":false,"pushed_at":"2022-03-16T10:08:08.000Z","size":23,"stargazers_count":14,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T09:44:05.942Z","etag":null,"topics":["cryptography","go","golang","siphash"],"latest_commit_sha":null,"homepage":"","language":"Go","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/aead.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}},"created_at":"2016-07-12T14:04:59.000Z","updated_at":"2024-08-10T05:11:37.000Z","dependencies_parsed_at":"2022-08-30T07:31:35.945Z","dependency_job_id":null,"html_url":"https://github.com/aead/siphash","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fsiphash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fsiphash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fsiphash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fsiphash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aead","download_url":"https://codeload.github.com/aead/siphash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244159992,"owners_count":20408019,"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":["cryptography","go","golang","siphash"],"created_at":"2024-10-12T20:44:03.383Z","updated_at":"2025-03-21T20:33:25.205Z","avatar_url":"https://github.com/aead.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Godoc Reference](https://godoc.org/github.com/aead/siphash?status.svg)](https://godoc.org/github.com/aead/siphash)\n[![Build Status](https://travis-ci.org/aead/siphash.svg?branch=master)](https://travis-ci.org/aead/siphash)\n\n## The SipHash pseudo-random function\n\nSipHash is a family of pseudo-random functions (a.k.a. keyed hash functions) optimized for speed on short messages.  \nSipHash computes a 64-bit or 128 bit message authentication code from a variable-length message and 128-bit secret key.\nThis implementation uses the recommended parameters c=2 and d=4.\n\n### Installation\nInstall in your GOPATH: `go get -u github.com/aead/siphash`  \n\n### Performance\n**AMD64**  \nHardware: Intel i7-6500U 2.50GHz x 2  \nSystem: Linux Ubuntu 16.04 - kernel: 4.4.0-67-generic  \nGo version: 1.8.0  \n```\nname         speed           cpb\nWrite_8-4     688MB/s ± 0%   3.47\nWrite_1K-4   2.09GB/s ± 5%   1.11\nSum64_8-4     244MB/s ± 1%   9.77\nSum64_1K-4   2.06GB/s ± 0%   1.13\nSum128_8-4    189MB/s ± 0%  12.62\nSum128_1K-4  2.03GB/s ± 0%   1.15\n```\n\n**386**  \nHardware: Intel i7-6500U 2.50GHz x 2 - SSE2 SIMD  \nSystem: Linux Ubuntu 16.04 - kernel: 4.4.0-67-generic  \nGo version: 1.8.0  \n```\nname         speed           cpb\nWrite_8-4     434MB/s ± 2%   5.44\nWrite_1K-4   1.24GB/s ± 1%   1.88\nSum64_8-4    92.6MB/s ± 4%  25.92\nSum64_1K-4   1.15GB/s ± 1%   2.03\nSum128_8-4   61.5MB/s ± 5%  39.09\nSum128_1K-4  1.10GB/s ± 0%   2.12\n```\n\n**ARM**  \nHardware: ARM-Cortex-A7 (ARMv7) 1GHz (912MHz) x 2  \nSystem:  Linux Ubuntu 14.04.1 - kernel: 3.4.112-sun7i  \nGo version: 1.7.4  \n\n```\nname         speed           cpb\nWrite_8-2    43.4MB/s ± 2%  21.97\nWrite_1K-2    125MB/s ± 1%   7.63\nSum64_8-2    6.51MB/s ± 1% 146.49\nSum64_1K-2    111MB/s ± 1%   8.59 \nSum128_8-2   3.82MB/s ± 2% 249.65\nSum128_1K-2   101MB/s ± 1%   9.44\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faead%2Fsiphash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faead%2Fsiphash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faead%2Fsiphash/lists"}