diff --git a/main.cs b/main.cs index 69f6dbc..e7a0b17 100644 --- a/main.cs +++ b/main.cs @@ -73,6 +73,8 @@ public static void Main(string[] args) } ulong testStrCode32 = GetStrCode32(text); hash = testStrCode32.ToString("x"); + if (hash.Length < 12) + hash = hash.PadLeft(12,'0'); hash = hash.Substring(hash.Length-12,12); if (reverse) {