Skip to content

解密失败 #3

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。请问有影响吗

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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