//---------------------------------------------------------------------------------- public static byte[] GetRawData ( string src , string key , ref string code , ref string algorithm ) { byte[] s = Encoding.ASCII.GetBytes(src); byte[] b = OpenSSL.GetRawData(s, key, ref code, ref algorithm); Array.Clear(s, 0, s.Length); return(b); }
//---------------------------------------------------------------------------------- public static byte[] GetRawData(string src, string key) { string s = string.Empty; return(OpenSSL.GetRawData(src, key, ref s, ref s)); }