Exemplo n.º 1
0
        //Convert File to video ready to upload
        public static void EncryptAndConvert(string filepath)
        {
            //fetch file
            string base64 = ConvertFileToBase64(filepath);

            //password string for encryption
            string encryptBase64Pass = RandomData.GetRandomString(12);

            //encrypt with random string
            string encryptedBase64 = EncryptAndDecrypt.SimpleEncryptWithPassword(base64, encryptBase64Pass);

            //convert to video
        }