Tests.UtilitieTests.GetEphemeralEncryptionKeyTest C# (CSharp) Method

GetEphemeralEncryptionKeyTest() private method

private GetEphemeralEncryptionKeyTest ( ) : void
return void
        public void GetEphemeralEncryptionKeyTest()
        {
            const string expectedEphemeralKeyHex =
                "e8b53184264ccb26b94bcf7e0be77d62a1304f49c6ebc21a3ca6a4614cd7cdba09355e5fe263d2934d8cbad4f8207c9ef6dd6d81dd4f6f668e7c33dedf7cce11";
            const string expectedEphemeralEncryptionKeyHex =
                "e8b53184264ccb26b94bcf7e0be77d62a1304f49c6ebc21a3ca6a4614cd7cdba";
            var expectedEphemeralKeyBin = Utilities.HexToBinary(expectedEphemeralKeyHex);
            Assert.AreEqual(expectedEphemeralEncryptionKeyHex,
                Utilities.BinaryToHex(Utils.GetEphemeralEncryptionKey(expectedEphemeralKeyBin)));
        }