AES Encryption with Expo for React Native - react-native

I would like to know how can we encrypt using AES and Expo for react native.
The expo-crypto seems to be only providing hashing and no real encryption.
Is there a way to do this with Expo?

Related

How to implement mutual TLS in react native

I need to implement mutual TLs in react native and I am using axios as a client

is expo crypto secure for storing credit card information?

I have to store credit card information in my database. this should be encrypted.
It is ok to encrypt this with expo crypto lib ?

Fetch API call fails in react native android for self signed certificate

We've used javascript fetch API to connect to server which has self signed certificate, not issued by a trusted CA.
The scenario is that the user gets an option to enter custom server URL that will be changing based upon different customers(enterprises) as we've configured different servers for different customers in their infrastructure for our B2B Android App.
I did a lot of research but didn't find a way in react native android to trust them programmatically in javascript or native module.

Bypassing SSL certificate in React native Android app?

Can anybody suggest how to bypass or deal with the SSLHandshakeException while working on React Native Android app?
In iOS, we are able to do so by setting TSL flas as TRUE in info.plist file.
FYI, the server's certificate seems valid when we try to access any of its web service in a browser.

Application with AES encryption - test

Im implementing the algorithm AES in my mobile app with a 128 bit key, now im wondering how to actually test if the encryption works and how secure is it, is there a way that i can simulate an attack to my application (maybe a free software)? so i can see if its secure enough.