You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm 🤔 Can you please elaborate and explain what your use case is?
I can see how something like this would be useful, and it makes some sense to have a high-speed implementation (i.e. in Go, not in JS) of these hash functions, but there are some challenges in terms of API design we need to consider before we can add them 😞
As you say, these hashes are not cryptographic, so they shouldn't be in the existing k6/crypto module or in the upcoming implementation of the WebCrypto APIs (https://github.com/grafana/xk6-webcrypto, which we plan soon merge in the k6 core, first in k6/experimental and then as a stable API).
So, yeah, I am not sure where to put them, just that a top-level k6/hash module doesn't seem like quite the right place 🤔
na--
added
ux
evaluation needed
proposal needs to be validated or tested before fully implementing it in k6
and removed
evaluation needed
proposal needs to be validated or tested before fully implementing it in k6
labels
Dec 12, 2022
Feature Description
There is a crypto module providing crypto hash functions, i would like to use non crypto hashes like ones found in hash package.
Is there a desire to add an extra module to k6 providing support for non crypto hashes?
Suggested Solution (optional)
Hash module, similar to crypto
Already existing or connected issues / PRs (optional)
No response
The text was updated successfully, but these errors were encountered: