Cloud Application Integration (On-Premises) : Integration Server Built-In Services : Security Folder : pub.security.util:createMessageDigest
pub.security.util:createMessageDigest
WmPublic. Generates a message digest for a given message.
Input Parameters
algorithm
String Name of the algorithm that you want to use to compute the message digest. Must be one of the following: MD5, SHA-1, SHA-256, SHA-384, or SHA-512.
input
byte[ ] Optional. Message for which you want the digest generated where the message is in the form of a byte array.
Note:  
If both input and inputAsStream are provided, inputAsStream takes precedence.
inputAsStream
java.io.InputStream Optional. Message for which you want to generate a message digest where the message is in the form of an input stream.
Note:  
If both input and inputAsStream are provided, inputAsStream takes precedence.
Output Parameters
output
byte[ ] Conditional. Computed digest in the form of a byte array. output is returned when the input parameter input is provided.
outputAsStream
OutputStream Conditional. Computed digest in the form of an output stream. outputAsStream is returned when the input parameter inputAsStream is provided.
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback