{"action":"created","issue":{"url":"https://api.github.com/repos/borgbackup/borg/issues/45","labels_url":"https://api.github.com/repos/borgbackup/borg/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/45/comments","events_url":"https://api.github.com/repos/borgbackup/borg/issues/45/events","html_url":"https://github.com/borgbackup/borg/issues/45","id":85573591,"number":45,"title":"interesting hashes / macs / ciphers","user":{"login":"ThomasWaldmann","id":356103,"avatar_url":"https://avatars.githubusercontent.com/u/356103?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasWaldmann","html_url":"https://github.com/ThomasWaldmann","followers_url":"https://api.github.com/users/ThomasWaldmann/followers","following_url":"https://api.github.com/users/ThomasWaldmann/following{/other_user}","gists_url":"https://api.github.com/users/ThomasWaldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasWaldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasWaldmann/subscriptions","organizations_url":"https://api.github.com/users/ThomasWaldmann/orgs","repos_url":"https://api.github.com/users/ThomasWaldmann/repos","events_url":"https://api.github.com/users/ThomasWaldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasWaldmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-05T16:25:16Z","updated_at":"2015-11-06T21:00:58Z","closed_at":null,"body":"https://github.com/Cyan4973/xxHash - not a cryptographic hash fn, not for HMAC! So, maybe we could use it as a crc32 replacement (if we keep the crc32(header+all_data) approach).\r\n\r\nblake2b - cryptographic hash fn\r\n\r\nsiphash - cryptographic hash fn (internally used by python >= 3.4), but: only 64bits return value. a 128bit version is \"experimental\".\r\n\r\nlibsodium has some hashes / macs also. but not yet widespread on linux dists.\r\n\r\nlast but not least: sha512-256 is faster on 64bit CPUs than sha256."},"comment":{"url":"https://api.github.com/repos/borgbackup/borg/issues/comments/154536335","html_url":"https://github.com/borgbackup/borg/issues/45#issuecomment-154536335","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/45","id":154536335,"user":{"login":"namelessjon","id":2833,"avatar_url":"https://avatars.githubusercontent.com/u/2833?v=3","gravatar_id":"","url":"https://api.github.com/users/namelessjon","html_url":"https://github.com/namelessjon","followers_url":"https://api.github.com/users/namelessjon/followers","following_url":"https://api.github.com/users/namelessjon/following{/other_user}","gists_url":"https://api.github.com/users/namelessjon/gists{/gist_id}","starred_url":"https://api.github.com/users/namelessjon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namelessjon/subscriptions","organizations_url":"https://api.github.com/users/namelessjon/orgs","repos_url":"https://api.github.com/users/namelessjon/repos","events_url":"https://api.github.com/users/namelessjon/events{/privacy}","received_events_url":"https://api.github.com/users/namelessjon/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T21:00:58Z","updated_at":"2015-11-06T21:00:58Z","body":"https://www.imperialviolet.org/2014/02/27/tlssymmetriccrypto.html < not a perfect comparison (it's ChaCha20, not XSalsa20, but I believe the performance is supposed to be similar), and that's one or more intel processor generations ago, but there's that.  However, I think since then libsodium has picked up an assembly version of Salsa20 which should be faster.\r\n\r\nhttps://blake2.net/ < likewise, blake2 has the blake2 perf numbers."}}