Skip to content
Advertisement

Tag: dart

how to descrypt an aes encryption from flutter in php

In my flutter app am using an encryption package called encrypt . and am able to encrypt my chat messages using this code but the problem is that the encrypted part will be stored in mysql database and flutter local database (sqflite) too and when i want to build a website for the app using php mysql html css javascript.

How to send POST request from Flutter app to PHP server

I’ve tried to send a POST request from my Dart application to a PHP file on my server that only checks if $_POST[‘username’] is set, what happens is that the request seems to reach the server but the server refuses to “read it”: This is what the server sees when a request is received (seen by using: file_get_contents(‘php://input’)) but if

Flutter/MySQL: How to pass URLs from mysql database to PageView/ImageSlider Widget?

I would like to pass a dynamic number of image url’s from my mysql database to a PageView Widget as a simple ImageSlider. Problem: Several type errors like “the argument type ‘List(ImageList)’ can’t be assigned to the parameter type String.” OR “type List(dynamic) is not a subtype of type List(String)”etc., if i pass the selection to the Widget. Question: How

Flutter / Dart AES-256-CBC decrypting from encryption in PHP

Could anyone help me to figure out a decryption algorithm for data that is encrypted in PHP using AES-256-CBC. I have tried lots of different ways, but I think I am messing up when trying to replicate the method of recreating they Key/IV in Dart and keep getting exceptions such as: The PHP code that does the encryption (which cannot

Does localhost refer to the client or the server?

I have a Dart application, which communicates to the server with POST-requests. At the moment, the server is on my local machine where I also test the application in the browser, so obviously, I have to send the POST-Req to localhost. But when the server is on one computer and the client anywhere else, it seems not to work with

Advertisement