Example #1
0
        /// <summary>
        /// 生成盐值
        /// </summary>
        /// <returns></returns>
        private string GeneratePasswordSalt()
        {
            var payCode = new SnowflakeIdHelper(1, 1).NextId();

            return(SecureHelper.Base64Encode(payCode.ToString()));
        }