How can I generate a SHA-3 (256) hash within SQL Server 2016 ?
HASHBYTES appears to only go up to SHA-2 (256) or SHA-2 (512).
Microsoft BOL isn't giving me a warm and fuzzy, that this is built in anywhere.
-- SHA2-256
DECLARE @HashThis nvarchar(32);
SET @HashThis = CONVERT(nvarchar(32),'123456');
SELECT HASHBYTES('SHA2_256', @HashThis);
-- Output: 0xEC278A38901287B2771A13739520384D43E4B078F78AFFE702DEF108774CCE24
-- SHA3-256 (KECCAK)
DECLARE @HashThis nvarchar(32);
SET @HashThis = CONVERT(nvarchar(32),'123456');
SELECT HASHBYTES('SHA3_256', @HashThis);
-- Output: NULL