Orc.NuGetExplorer.Native.CredentialsPrompter.GetEncryptionKey C# (CSharp) Method

GetEncryptionKey() private static method

private static GetEncryptionKey ( string key, string username ) : string
key string
username string
return string
        private static string GetEncryptionKey(string key, string username)
        {
            // Note: slightly different than the configuration key so it's not exactly the same
            var encryptionKey = string.Format("{0}_{1}", key, username);
            encryptionKey = EncryptionHelper.GetMd5Hash(encryptionKey);

            return encryptionKey;
        }