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

(WIP) Integrate encryption and decryption #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hanwencheng
Copy link

@hanwencheng hanwencheng commented Sep 3, 2019

resolve #3

  • Integrate encryption and decryption on iOS

    • update the development environment to latest
    • Implement basic encryption and decryption function
    • Refactor committed code with objective-C conventions ( helps are welcome, I am new to objective-c programming )
  • Integrate encryption and decryption on Android

    • Implement KeyPairGenerate function for encryption, (save key into Keychain.)
    • Implement basic encryption and decryption function
    • Save the encryted ecc keys into SharedPreference

@mvayngrib
Copy link
Member

mvayngrib commented Sep 4, 2019

@hanwencheng thanks for the PR!

question: are there some existing tests / fixtures for ECIES that you can adapt to test your implementation? For example, these repos have some tests, but maybe there are some standard fixtures somewhere:

this would have the added benefit of demonstrating compatibility with other ECIES implementations (which a counterparty might be running)

edit: btw, i don't mean u need to create some special testing environment. It's fine if i can run them in an app by doing require('react-native-ecc/test')

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

Successfully merging this pull request may close these issues.

Whats about encrypt decrypt ?
3 participants