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

[IDEA] Add New JavaScript Utility Methods to Generate a Hash of Channel Messages #5476

Closed
jdonextgen opened this issue Oct 17, 2022 · 2 comments
Labels
enhancement New feature or request Fix-Commited Issue fixed and will be available in milestone Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-9372 triaged
Milestone

Comments

@jdonextgen
Copy link
Collaborator

Describe your use case
I need to be able to generate a hash of messages passing through a channel and be able to send it to receiving systems so that receiving systems can verify message integrity by checking the hash.

Describe the solution you'd like
Add new JavaScript utility methods that leverage the MessageDigest library to generate a hex hash of messages passing through a channel.

@jdonextgen jdonextgen added enhancement New feature or request triaged Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-9372 labels Oct 17, 2022
@jdonextgen jdonextgen added this to the 4.2.0 milestone Oct 17, 2022
@jdonextgen jdonextgen changed the title [IDEA] Your Issue Title [IDEA] Add New JavaScript Utility Methods to Generate a Hash of Channel Messages Oct 17, 2022
@pacmano1
Copy link
Collaborator

You can't do https://forums.mirthproject.io/forum/mirth-connect/development/2376-cryptographic-hash-algorithm-in-mirth?p=79508#post79508?

@ChristopherSchultz
Copy link
Contributor

ChristopherSchultz commented Oct 19, 2022

I'm sure that's possible, but a javascript method wrapper in the "standard js API Mirth provides would be a nice addition, even if only for improved readability. Also, it doesn't matter that Mirth includes Guava... Mirth can simple implement the js function however it wants and even re-implement it later if Guava is no longer necessary, etc.

@lmillergithub lmillergithub added the Fix-Commited Issue fixed and will be available in milestone label Nov 16, 2022
@pladesma pladesma closed this as completed Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Fix-Commited Issue fixed and will be available in milestone Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-9372 triaged
Projects
None yet
Development

No branches or pull requests

5 participants