I'm using framework laravel for encryption some string, in my laravel i write the code like this :
public function getBankNameAttribute(){
return Crypt::encrypt($this->attributes['bank_name']);
}
The result is String 'abc' encrypted to String
'eyJpdiI6InBxeTlKOVdFQ1FoN2hGNDdPSTJZUnc9PSIsInZhbHVlIjoiVzlQYVpsSlptUHF6QUMwalM0c21vZz09IiwibWFjIjoiNGFlYmY3OTk2MDUyYTcwMzMxMGYzYmQzODRhODUyNWRlZjMzNjNmMDU5NTJiMDg2NmJjNzhkYjI5NTkzYzI1YSJ9'
The return of the encrypt is always different because of generate IV from laravel.If the output is always different,how can i decrypt the string outside laravel. Especially for Android.
I have searching the whole documentation on Google, but no one made it for Android. Thanks in advance.