转自: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=76258 This function is used to initialize the seed for the RC4 algorithm CREATE FUNCTION dbo.fnInitRc4 ( @Pwd VARCHAR(256) ) RETURNS @Box TABLE (i TINYINT, v TINYINT) AS BEGIN DECLARE @Key TABLE (i ...