Coder Social home page Coder Social logo

Comments (3)

jakub-bochenski avatar jakub-bochenski commented on June 22, 2024

You promised to document default values back in May TykTechnologies/tyk-docs#2530

from tyk.

jakub-bochenski avatar jakub-bochenski commented on June 22, 2024

Seems to be murmur32 based on those release notes https://github.com/TykTechnologies/tyk-docs/blob/af39a6183263dfe593d31450fafc3aebb4e7236c/tyk-docs/content/release-notes/version-2.7.md?plain=1#L38

Interesting that murmur32 is not even documented as a valid option

from tyk.

andyo-tyk avatar andyo-tyk commented on June 22, 2024

Hi @jakub-bochenski,

Tyk implements MurmurHash 3 and offers three different output sizes to allow tuning of the hash size and collision probability.

You can select the option you require using the TYK_GW_HASHKEYFUNCTION variable:
murmur32 - 32-bit output
murmur64 - 64-bit output
murmur128 - 128-bit output

You can alternatively choose the crytographic sha256 hashing algorithm.

The default value used by Tyk, if hashing is enabled but no algorithm selected via TYK_GW_HASHKEYFUNCTION is murmur64.

I'm sorry for the delay getting back to you on this.

Thank you for supporting Tyk!

from tyk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.