ProxymanApp / ProxymanApp/Proxyman

Add Support for creating HmacSHA256 hashes

Open
#794 5 comments 0 reactions 1 assignee View on GitHub

@NghiaTranUIT is already working on this.

Since Feb 20, 2021.

✅ Done enhancement
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Proxyman version? (Ex. Proxyman 1.4.3)

2.1.8

macOS Version? (Ex. mac 10.14)

10.15.17

Crypto-js supports creating Hmac256 and other keyed hashes. To use it (or the wide variety of HMAC hashes that can be done with Crypto-js, you just need to add a wrapper in the @addons/Crypto.js file. (~/Library/Application Support/com.proxyman.NSProxy/addons)

I added a constant declaration and an export like this:

const HmacSHA256 = (string, secret) => {
        return CryptoJS.HmacSHA256(string, secret);
}

exports.HmacSHA256 = HmacSHA256;

And it worked great. It sure would be nice to have this included in future versions.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.