{"repo":"tkaitchuck/aHash","free":true,"listed":false,"github":"https://github.com/tkaitchuck/aHash","clone":"git clone https://github.com/tkaitchuck/aHash.git","description":"aHash is a non-cryptographic hashing algorithm that uses the AES hardware instruction","language":"Rust","stars":1342,"topics":["rust","hash","hashing","aes"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"aHash AHash is the fastest, DOS resistant hash currently available in Rust. AHash is intended exclusively for use in in-memory hashmaps. AHash's output is of high quality but aHash is not a cryptographically secure hash. Design Because AHash is a keyed hash, each map will produce completely different hashes, which cannot be predicted without knowing the keys. This prevents DOS attacks where an attacker sends a large number of items whose hashes collide that get used as keys in a hashmap. This also avoids accidentally quadratic behavior by reading from one map and writing to another. Goals and Non-Goals AHash does not have a fixed standard for its output. This allows it to improve over time. For example, if any faster algorithm is found, aHash will be updated to incorporate the technique. Similarly, should any flaw in aHash's DOS resistance be found, aHash will be changed to correct the flaw. Because it does not have a fixed standard, different computers or computers on different versions of the code will observe different hash values. As such, aHash is not recommended for use other than in-memory maps. Specifically, aHash is not intended for network use or in applications which persist hashed values. (In these cases HighwayHash would be a better choice) Additionally, aHash is not intended to be cryptographically secure and should not be used as a MAC, or anywhere which requires a cryptographically secure hash. (In these cases SHA-3 would be a better choice) Usage AHash is a d","default_branch":null,"files":null,"tree":[],"storefront":"/r/tkaitchuck","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tkaitchuck/aHash/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}