This gives you a 344 character long Base64 string. It is not entirely alphanumeric, but it is random.
DECLARE @x varchar(4000)
SELECT @x = (SELECT crypt_gen_random(256) AS x
FOR XML PATH('root'), TYPE).value('/root[1]/x[1]', 'varchar(4000)')
SELECT len(@x), @x