Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement possibility to calculate hash with key #3950

Open
MarynaBelskayaA opened this issue May 17, 2023 · 0 comments
Open

Implement possibility to calculate hash with key #3950

MarynaBelskayaA opened this issue May 17, 2023 · 0 comments
Labels
feature New feature or request

Comments

@MarynaBelskayaA
Copy link

MarynaBelskayaA commented May 17, 2023

https://docs.vividus.dev/vividus/latest/commons/expressions.html#_hash_calculations

#{calculateHash($algorithm, $input)} should be updated to take an optional parameter key

e.g. #{calculateHash($key, $algorithm, $input)}
in order to calculate hash with HMAC-SHA256 algorithm

it should work, e.g. as on https://www.devglan.com/online-tools/hmac-sha256-online

@MarynaBelskayaA MarynaBelskayaA added the feature New feature or request label May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant