public void TestCustomAlphabetConversionOfGuid() { var alphabet = "0123456789abcdef"; var guid = Guid.Parse("6ca4f0f8-2508-4bac-b8f1-5d1e3da2247a"); var str = ConvertEx.ToCustomAlphabetString(guid, alphabet, isBigEndian: true); str.ShouldBe("6ca4f0f825084bacb8f15d1e3da2247a"); var decoded = ConvertEx.FromCustomAlphabetStringToGuid(str, alphabet, isBigEndian: true); decoded.ShouldBe(guid); }