Created
September 13, 2020 02:47
-
-
Save jadiagaurang/824584bfb591561f99d61e17222783a5 to your computer and use it in GitHub Desktop.
ENCRYPT-DECRYPT Varbinary
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 @CC VARBINARY(1000); | |
SET @CC = ENCRYPTBYPASSPHRASE('secretcode','1212704331100'); | |
SELECT CONVERT(VARCHAR(100), DECRYPTBYPASSPHRASE('secretcode', @CC)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment