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

Question about comment on line:20 #3

Open
esdlists opened this issue Oct 3, 2017 · 2 comments
Open

Question about comment on line:20 #3

esdlists opened this issue Oct 3, 2017 · 2 comments

Comments

@esdlists
Copy link

esdlists commented Oct 3, 2017

Not an issue, but confused with the //128 bit comment on line:20 in example/index.ios.js. Would we be able to use this package if 128 bit encryption is desired (for odd reasons)?

Thanks

@fanday
Copy link
Owner

fanday commented Oct 9, 2017

@esdlists The IV random is 128 bits."Randomization is crucial for encryption schemes to achieve semantic security, a property whereby repeated usage of the scheme under the same key does not allow an attacker to infer relationships between segments of the encrypted message. "I just use the 256 bits encryption.if you need 128 bit key I think you need refine the code.BTW the 256 bit encryption is more secure.

@fanday
Copy link
Owner

fanday commented Oct 9, 2017

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

2 participants