Skip to content

解密失败 #3

@YDJSZY

Description

@YDJSZY

我把加密数据发送给后端,后端返回另一段加密数据,但我解密返回null。
var dd = await FlutterAes.decrypt(
base64.decode(resData), utf8.encode(_key), utf8.encode(_iv));
print(dd);// null
我打印base64.decode(resData).length,长度为512,我发送给后端的加密数据是128。请问有影响吗

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions