Exemplo n.º 1
0
        //----------------------------------------------------------------------------------

        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);
        }
Exemplo n.º 2
0
        //----------------------------------------------------------------------------------

        public static byte[] GetRawData(string src, string key)
        {
            string s = string.Empty;

            return(OpenSSL.GetRawData(src, key, ref s, ref s));
        }