# \#hash

**URL:** https://forum.elixirforum.com/tag/hash/953.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Murmur - a pure Elixir implementation of the non-cryptographic hash Murmur3](https://forum.elixirforum.com/t/murmur-a-pure-elixir-implementation-of-the-non-cryptographic-hash-murmur3/65176)

<div class="topic-metadata">

**Author:** [@preciz](https://forum.elixirforum.com/u/preciz)\
**Replies:** 1\
**Last updated:** [July 27, 2024, 3:07am UTC](https://forum.elixirforum.com/t/murmur-a-pure-elixir-implementation-of-the-non-cryptographic-hash-murmur3/65176 "2024-07-27T03:07:23Z")

</div>

Murmur is a pure Elixir implementation of the non-cryptographic hash Murmur3. It aims to implement the x86\_32bit, x86\_128bit and x64\_128bit variants. Usage Add Murmur as a dependency in your mix.exs file. def deps do…

---

## [Help to make (and understand) better and beautiful code](https://forum.elixirforum.com/t/help-to-make-and-understand-better-and-beautiful-code/64024)

<div class="topic-metadata">

**Author:** [@N0x90](https://forum.elixirforum.com/u/N0x90)\
**Replies:** 4\
**Last updated:** [June 6, 2024, 11:42pm UTC](https://forum.elixirforum.com/t/help-to-make-and-understand-better-and-beautiful-code/64024 "2024-06-06T23:42:15Z")

</div>

Years ago i worte keccak\_ex with only support for hash 256 Now I completed the support for hash 512 and 128 bytes The “problem” Both implementation are the same ( :upside\_down\_face: copy and paste) and just change fo…

---

## [Avatarex - Generate unique, reproducible avatars from hashed strings](https://forum.elixirforum.com/t/avatarex-generate-unique-reproducible-avatars-from-hashed-strings/55907)

<div class="topic-metadata">

**Author:** [@david](https://forum.elixirforum.com/u/david)\
**Replies:** 7\
**Last updated:** [May 21, 2023, 8:36pm UTC](https://forum.elixirforum.com/t/avatarex-generate-unique-reproducible-avatars-from-hashed-strings/55907 "2023-05-21T20:36:11Z")

</div>

Avatarex is an elixir package for generating unique, reproducible Avatars from hashed strings. The package is inspired by Robohash Hey everyone! I’ve been working on a personal project and was in want of some unique pl…

---

## [I ported a js lib colour\_hash to get an assigned color of a string.](https://forum.elixirforum.com/t/i-ported-a-js-lib-colour-hash-to-get-an-assigned-color-of-a-string/26665)

<div class="topic-metadata">

**Author:** [@Emil](https://forum.elixirforum.com/u/Emil)\
**Replies:** 2\
**Last updated:** [March 6, 2021, 5:55pm UTC](https://forum.elixirforum.com/t/i-ported-a-js-lib-colour-hash-to-get-an-assigned-color-of-a-string/26665 "2021-03-06T17:55:08Z")

</div>

ColourHash The idea is to be able to assign a colour to a user or concept that is inline with your current key colours A port of GitHub - zenozeng/color-hash: Generate color based on the given string (using HSL color sp…

---

## [XXH3 - NIF bindings for XXH3 hash functions implemented in Rust](https://forum.elixirforum.com/t/xxh3-nif-bindings-for-xxh3-hash-functions-implemented-in-rust/36878)

<div class="topic-metadata">

**Author:** [@farhadi](https://forum.elixirforum.com/u/farhadi)\
**Replies:** 0\
**Last updated:** [January 15, 2021, 4:38pm UTC](https://forum.elixirforum.com/t/xxh3-nif-bindings-for-xxh3-hash-functions-implemented-in-rust/36878 "2021-01-15T16:38:56Z")

</div>

xxh3 is a NIF binding for XXH3 Rust implementation, an extremely fast hash algorithm of the xxHash family of non-cryptographic hash functions. It provides 64-bit and 128-bit variants of latest stable XXH3 (version 0.8.0…

---

## [Ex\_sha3: Pure Elixir implementation of sha3 AND keccak-1600-f](https://forum.elixirforum.com/t/ex-sha3-pure-elixir-implementation-of-sha3-and-keccak-1600-f/21943)

<div class="topic-metadata">

**Author:** [@dominicletz](https://forum.elixirforum.com/u/dominicletz)\
**Replies:** 8\
**Last updated:** [January 14, 2020, 5:54am UTC](https://forum.elixirforum.com/t/ex-sha3-pure-elixir-implementation-of-sha3-and-keccak-1600-f/21943 "2020-01-14T05:54:32Z")

</div>

Implementing ex\_sha3 was an experiment of a pure Elixir version of the fips-202 sha3 and original keccak algorithms. ex\_sha3 works platform independent without any nif wrapper, requires no c compilation. Also, this is th…

---

## [Convert C# function to Elixir](https://forum.elixirforum.com/t/convert-c-function-to-elixir/17517)

<div class="topic-metadata">

**Author:** [@danish](https://forum.elixirforum.com/u/danish)\
**Replies:** 7\
**Last updated:** [October 30, 2018, 9:24am UTC](https://forum.elixirforum.com/t/convert-c-function-to-elixir/17517 "2018-10-30T09:24:19Z")

</div>

this is the function that I am trying to convert to Elixir: private static byte\[\] HashBody(string content) { var contentBytes = Encoding.UTF8.GetBytes(content); using (var provider = new SHA256Managed(…

---

## [Strange behavior with SHA vs phash2](https://forum.elixirforum.com/t/strange-behavior-with-sha-vs-phash2/15692)

<div class="topic-metadata">

**Author:** [@darkmarmot](https://forum.elixirforum.com/u/darkmarmot)\
**Replies:** 2\
**Last updated:** [August 9, 2018, 2:12am UTC](https://forum.elixirforum.com/t/strange-behavior-with-sha-vs-phash2/15692 "2018-08-09T02:12:23Z")

</div>

We have some code that creates unique hashes on documents to handle duplicate checks. It wasn’t working on nodes that rebooted (letting dupes through) and as a last resort I changed from SHA to phash2 and it works perfe…
