Check out example codes for "c# generate guid from hash". It will help you in understanding the concepts better.

Code Example 1

using System.Security.Cryptography;

        private static Guid GuidFromString(string input)
        {
            using (MD5 md5 = MD5.Create())
            {
                byte[] hash = md5.ComputeHash(Encoding.Default.GetBytes(input));
                return new Guid(hash);
            }
        }

Learn ReactJs, React Native from akashmittal.com