public static byte[] Hash(this string data, Func<HashAlgorithm> factory) => Encoding.Unicode.GetBytes(data).Hash(factory);