-
-
Save amarkulo/bb1b4cc2f97b37d2ca81357a413b3959 to your computer and use it in GitHub Desktop.
Check PwnedPwdDB for unsecure hashes
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
use PwnedPwdDB | |
go | |
DECLARE @HashThis varchar(MAX) = 'password'; | |
DECLARE @Hash varchar(MAX); | |
set @Hash = convert(varchar(max), HASHBYTES('SHA1', @HashThis), 2); | |
select * from Hashes where hash = @Hash; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment