public bool EncodeText(string text) { try { Clear(); if (!string.IsNullOrEmpty(text)) { Text = text; Binary = TranslatorHelper.TextToBinary(text); Hexadecimal = TranslatorHelper.TextToHexadecimal(text); ASCII = TranslatorHelper.TextToASCII(text); Base64 = TranslatorHelper.TextToBase64(text); CRC32 = TranslatorHelper.TextToHash(text, HashType.CRC32, true); MD5 = TranslatorHelper.TextToHash(text, HashType.MD5, true); SHA1 = TranslatorHelper.TextToHash(text, HashType.SHA1, true); SHA256 = TranslatorHelper.TextToHash(text, HashType.SHA256, true); SHA384 = TranslatorHelper.TextToHash(text, HashType.SHA384, true); SHA512 = TranslatorHelper.TextToHash(text, HashType.SHA512, true); return(true); } } catch { } return(false); }