Hash String With SHA 512
  • 29 Dec 2022
  • 1 Minute to read
  • Dark
    Light

Hash String With SHA 512

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationData > Text

The Hash String With SHA 512 gives users the ability to hash a string value with the SHA 512 Cryptographic Algorithm. 



Properties

Inputs

PropertyDescriptionData Type
EncodingAllows the user to select the encoding type    
StringEncodingType
InputValue to hashString

Outputs

PropertyDescriptionData Type
OutputOutputs the encoded text inputString

Example Inputs and Outputs

EncodingInputOutput
UnicodeNullEXCEPTION MESSAGE
UTF8Empty StringEXCEPTION MESSAGE
UTF8Popjz6XH9cuj1qk4UcPluMH1c5HdXD21tfv4DfQt68+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?