public static bool SetSHA1Hash(string sourceString, ref char[] hashData) { string text = NkUtil.EncryptPassword(sourceString); hashData = text.ToCharArray(); return(true); }