AES in flutter dart and cryptoJS web javascript

Ukončen Zveřejněno před 5 lety K zaplacení v momentě doručení
Ukončen K zaplacení v momentě doručení

I am trying to write two function in flutter and Javascript which I can use throughout my project to encrypt or decrypt data using AES when data is exchanged. For Flutter I am using the pointycastle package based on instructions [login to view URL]

For the Javascript solution I am using CryptoJS

var AESKey = "20190225165436_15230006321670000"

cc = [login to view URL]( ("abcdef ha ha "), AESKey, { mode: [login to view URL], padding: [login to view URL] } ).toString()

[login to view URL](cc, AESKey).toString([login to view URL]); //return abcdef ha ha

Both solutions work well within their own environment, however the flutter or Javascript hashes can't be exchanged, they will not decrypt. My guess is that the character encoding has something to do with it, hence why the base64 sizes differ so much. Does anyone have a idea to get this working together? Thanks!

(Removed by Freelancer.com Admin)

Encryption Flutter JavaScript

Identifikační číslo projektu: #18817100

O projektu

1 nabídka Projekt na dálku Aktivní před 5 lety

1 freelancer zveřejnil na tento projekt nabídky v průměrné hodnotě $20

rammuralidhar

I am planning to implement the encryption in nodejs so that the algorithm matches to the flutter api

$20 USD za 3 dní
(0 Recenzí)
0.0