pysparkapache-spark-sqlsha2

how to decrypt the hex string created by sha2 function


Is there a way to decrypt the hex string created by sha2 function.

Basically we created a hex string based on two columns of a dataframe.


Solution

  • Only something which is encrypted can be decrypted. SHA-2 is not an encryption algorithm, it is a Secure Hash Algorithm.