Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i use the policy encryption and decryption which includes more than 1 attribute? #1

Open
1ofvc opened this issue May 5, 2021 · 1 comment

Comments

@1ofvc
Copy link

1ofvc commented May 5, 2021

such as
attrs:=[]string{"A", "B", "C"}
departAttr:="(A OR D) AND B"
without the Hash function to deal with departAttr, enc the msg with departAttr directly.
And the result is:

enc:

dec:
runtime error: invalid memory address or nil pointer dereference

If you see this problem,could you please give me some help. Thank you very much!

@1ofvc
Copy link
Author

1ofvc commented May 6, 2021

I‘ve sovled this problem!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant