http://beyondrelational.com/modules/4/whatisnew/361/features/7155/hashbytes-function-supports-2-more-algorithms-in-sql-server-2012.aspx

msdn 참고 : http://technet.microsoft.com/ko-kr/library/ms174415.aspx

	DECLARE @HashThis nvarchar(4000),
		@HashKey varbinary(1000);
	
	SELECT @HashThis = CONVERT(nvarchar(4000),'dslfdkjLK85kldsdfasdfasdfdsfasdfasdfhnv$n000#knf');
	SELECT @HashKey = HASHBYTES('SHA2_256', @HashThis);

	SELECT @HashKey, DATALENGTH(@HashKey);		-- return size 256 bit, 32 byte