Last active
December 13, 2017 17:23
-
-
Save aaronhoffman/bcfcfb28c6712e5f769f945688f591de to your computer and use it in GitHub Desktop.
Convert SQL hashbytes varbinary to hex char
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert(char(48), HASHBYTES('sha1', @HashInput), 2) | |
convert(char(64), HASHBYTES('sha2_256', @HashInput), 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment