xxHash
swift-crypto
Our great sponsors
xxHash | swift-crypto | |
---|---|---|
28 | 8 | |
8,462 | 1,403 | |
- | 1.2% | |
8.4 | 7.2 | |
2 days ago | 22 days ago | |
C | C | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xxHash
-
The One Billion Row Challenge in CUDA: from 17 minutes to 17 seconds
> GPU Hash Table?
How bad would performance have suffered if you sha256'd the lines to build the map? I'm going to guess "badly"?
Maybe something like this in CUDA: https://github.com/Cyan4973/xxHash ?
- ETag and HTTP Caching
-
Day 64: Implementing a basic Bloom Filter Using Java BitSet api
Examples of fast, simple hashes that are independent enough includes murmur, xxHash, Fowler–Noll–Vo hash function and many others
- Closed-addressing hashtables implementation
-
NIST Retires SHA-1 Cryptographic Algorithm
If you're only using the hash for non-cryptographic applications, there are much faster hashes: https://github.com/Cyan4973/xxHash
-
Does the checksum algorithm crc32c-intel support AMD Ryzen series 3000 or newer?
I found the benchmark result of AMD ryzen 5950X
-
[Study Project] A memory-optimized JSON data structure
But what's the catch, you're thinking ? Well, it is a bit slower than its counterparts when it comes to deserializing (and marginally faster for serializing). To achieve smaller footprint, it uses a few tricks and notably a custom hash table to deduplicate strings. This comes at a cost of course (even when featuring xxHash to speed things up), but keeps the slowdown reasonable (I think).
-
What do you typically use for non-cryptographic hash functions?
Non cryptographic hashes has collisions, for example, assume you having content like "abcdefg" which hashed value is "123", in case of weak hash algorithm some other content like "abcdefZ" can also have a hash "123" which basically means such hash function is failed to be unique fingerprint of particular content. BLAKE3 for example can do 6-7Gb/s which make it pretty fast and secure. If your requirement accepts collision with defined error rate, I would advise you to take a look at XXH3 if you need very snappy hash algorithm, which can run at pace or RAM access (30GB/s+), but again, run tests at particular equipment you targeting, may be AES hardware accelerated MeowHash will serve you better.
- C++ gonna die😥
- rsync, article 3: How does rsync work?
swift-crypto
-
Swift for Android: How to use Swift-Crypto with Android Studio
dependencies: [ .package(url: "https://github.com/scade-platform/swift-java.git", branch: "main"), .package(url: "https://github.com/apple/swift-crypto.git", .branch("main")) ]
- Can swift be used for web, data science, or cybersecurity?
-
What do you think about server-side Swift?
Are you aware of SwiftCrypto (granted it is missing some capabilities)?
-
Apple rejects Bitcoin EC curve: Please help writing - on Github - CONSTRUCTIVE and POLITE contra-arguments and maybe we can convince them to change their mind (requires Github account)
swift-crypto is open source, not closed source. I dont work at Apple, but I’m a contributor: https://github.com/apple/swift-crypto/graphs/contributors
- Help getting Eth/BTC curve secp256k1 added to Apples swift-crypto for safer wallets, by upvoting proposal on Github. Also on Github write any missing adoption breakthroughs I’ve missed.
-
Swift Playgrounds 4
Apple is investing a lot in it, but Swift is much younger than Rust (especially as an open source project). There is a working group that meets every few weeks to shepherd the various projects. Most of the recent activity has been (AFAICT) about orchestration. Well, that and transitioning projects to use async/await and structured concurrency. Here's some recent activity in the Swift on server space:
- the proposal for distributed actors is currently in-review (https://github.com/apple/swift-evolution/blob/main/proposals...)
- a metrics API for backends like Graphite, Prometheus, etc. (https://github.com/apple/swift-metrics)
- HTTP/2 support for SwiftNIO (https://github.com/apple/swift-nio-http2)
- a new service discovery API (https://github.com/apple/swift-service-discovery)
- a new distributed tracing API (https://github.com/apple/swift-distributed-tracing)
- a Linux implementation of Apple's CryptoKit API on top of BoringSSL (https://github.com/apple/swift-crypto)
I'm not pretending that it's taking the server-side world by storm, but there is a fair amount of ongoing activity Personally, I'm using it for a couple personal projects and it's been solid, but I'm already a macOS developer, so it wasn't a big stretch for me to reach for it.
-
[HELP WANTED] Big number computation in Swift for RSA implementation
This doesn’t exactly answer your question, but you could always use swift-crypto for RSA.
What are some alternatives?
BLAKE3 - the official Rust and C implementations of the BLAKE3 cryptographic hash function
Practical-Cryptography-for-Developers-Book - Practical Cryptography for Developers: Hashes, MAC, Key Derivation, DHKE, Symmetric and Asymmetric Ciphers, Public Key Cryptosystems, RSA, Elliptic Curves, ECC, secp256k1, ECDH, ECIES, Digital Signatures, ECDSA, EdDSA
meow_hash - Official version of the Meow hash, an extremely fast level 1 hash
python-ecdsa - pure-python ECDSA signature/verification and ECDH key agreement
xxh - 🚀 Bring your favorite shell wherever you go through the ssh. Xonsh shell, fish, zsh, osquery and so on.
ecc - elliptic-curve cryptography
blake3 - An AVX-512 accelerated implementation of the BLAKE3 cryptographic hash function
alchemy - Modern, batteries included web framework for Swift.
smhasher - Hash function quality and speed tests
swift-evolution - This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
PostgreSQL - Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch
swift-service-discovery - A service discovery API for Swift.