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

Documentation #24

Open
xploSEoF opened this issue Jul 25, 2019 · 1 comment
Open

Documentation #24

xploSEoF opened this issue Jul 25, 2019 · 1 comment

Comments

@xploSEoF
Copy link

xploSEoF commented Jul 25, 2019

The documentation doesn't make text encoding clear at all.

It would seem:

  • base16 (hexadecimal):
    • iv from randomKey
    • iv for encrypt
    • iv for decrypt
    • key on iOS for encrypt (despite being called base64key in the JS code)
    • key on iOS for decrypt (despite being called base64key in the JS code)
  • base64:
    • cipher from encrypt (no padding characters given)
    • cipher for decrypt (padding characters allowed but not required)

I haven't checked the other functions yet, but this was rather confusing to find out.

@tectiv3
Copy link
Owner

tectiv3 commented Jul 26, 2019

yep, you were right, thank you for catching those leftovers from refactoring.

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