C#根据哈希算法生成类似uuid字符串

new Guid(System.Security.Cryptography.SHA256.Create().ComputeHash(Encoding.UTF8.GetBytes(itemChild.childId.ToString())).Take(16).ToArray()).ToString()
posted @   半、枫  阅读(22)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示