This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Concurrent; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Runtime.Serialization.Formatters.Binary; | |
| using StackExchange.Redis; | |
| using ZeroFormatter; | |
| namespace ConsoleApplication2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Working C# equivalent | |
| public static string GetMD5Working(string input) | |
| { | |
| MD5 md5 = MD5.Create(); | |
| byte[] hash = md5.ComputeHash(Encoding.UTF8.GetBytes(input)); | |
| StringBuilder sb = new StringBuilder(); | |
| for (int j = 0; j < hash.Length; j++) | |
| { | |
| sb.Append(hash[j].ToString("X2")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <xsl:template match="@*|node()"> | |
| <xsl:copy> | |
| <xsl:apply-templates select="@*|node()"/> | |
| </xsl:copy> | |
| </xsl:template> | |
| <xsl:template match="/*"> | |
| <xsl:copy> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"lastUpload":"2018-12-01T21:15:43.026Z","extensionVersion":"v3.2.2"} |
OlderNewer