Created
June 25, 2020 15:02
-
-
Save martinjt/7275f60f97333575bfd9abe2bae25d72 to your computer and use it in GitHub Desktop.
hash for identity server
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
DECLARE @HASHBYTES VARBINARY(128) = hashbytes('sha2_256', N'secret') | |
SELECT cast(N'' as xml).value('xs:base64Binary(sql:variable("@HASHBYTES"))', 'varchar(128)'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment