vscode-restclient icon indicating copy to clipboard operation
vscode-restclient copied to clipboard

Hash generation

Open walkero-gr opened this issue 3 years ago • 1 comments

Is there a way to use hashes that are generated on the fly based on variables, i.e. a variable might be the timestamp and and other an API key?

For example, it could work like below:

@apikey=abcdefg1234hij @hash=sha1({{apikey}}{{$timestamp}})

GET http://example.com/1.0/ Authorization: {{hash}}

walkero-gr avatar May 31 '21 16:05 walkero-gr

This would be really useful do generate hashes sha1, sha256, sha512 and also base64 encodings.

hvamstel avatar Feb 07 '22 15:02 hvamstel