Hash String With SHA 512
- 29 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Hash String With SHA 512
- Updated on 29 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 5.12.0 |
Location | Data > Text |
The Hash String With SHA 512 gives users the ability to hash a string value with the SHA 512 Cryptographic Algorithm.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Encoding | Allows the user to select the encoding type | StringEncodingType |
Input | Value to hash | String |
Outputs
Property | Description | Data Type |
---|---|---|
Output | Outputs the encoded text input | String |
Example Inputs and Outputs
Encoding | Input | Output |
---|---|---|
Unicode | Null | EXCEPTION MESSAGE |
UTF8 | Empty String | EXCEPTION MESSAGE |
UTF8 | Pop | jz6XH9cuj1qk4UcPluMH1c5HdXD21tfv4DfQt68+OrAV0KjUJNHw/NIktmIcyWNUj4VxvfN0953QVr//+GJOIA== |
Common Errors
String reference not set to an instance of a String
If the String input is not entered or is null, an error will occur.
To correct this, ensure that the input field is correctly entered or mapped with a value.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Hash String With SHA 512 1[HashStringWithSHA512] in flow [Flow 6]: Exception invoking method HashStringWithSHA512 on class StringEncryption
---> DecisionsFramework.LoggedException: Exception invoking method HashStringWithSHA512 on class StringEncryption
---> System.ArgumentNullException: String reference not set to an instance of a String. (Parameter 's'
at System.Text.Encoding.GetBytes(String s
at DecisionsFramework.Design.Flow.CoreSteps.StandardSteps.StringEncryption.HashStringWithSHA512(String input, StringEncodingType encoding)
--- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data
at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData
at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
--- End of inner exception stack trace ---
Was this article helpful?