dchest / tweetnacl-js

Port of TweetNaCl cryptographic library to JavaScript
https://tweetnacl.js.org
The Unlicense
1.75k stars 292 forks source link

Update README.md #159

Closed tarun1475 closed 5 years ago

tarun1475 commented 5 years ago

React native bindings for using tweetnacl.js in mobile platform with ease.

Important!

If your contribution is not trivial (not a typo fix, etc.), we can only accept it if you dedicate your copyright for the contribution to the public domain. Make sure you understand what it means (see http://unlicense.org/)! If you agree, please add yourself to AUTHORS.md file, and include the following text to your pull request description or a comment in it:


I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
dchest commented 5 years ago

Hm, why does it need to be a fork? Peerio Mobile, for example, just sets PRNG to react-native-randombytes https://github.com/PeerioTechnologies/peerio-mobile/blob/98d025da596055f113383b44b5bc2e8fa22b3478/app/lib/crypto/index.js#L9

Can something be done here without fork?

tarun1475 commented 5 years ago

Sure, But if you want to integrate seamlessly to your react-native project , it would require certain more steps as mentioned in my npm package https://www.npmjs.com/package/react-native-tweetnacl. yes we can make folder in the current repo and integrate my code into that folder e.g react-native lib. That lib will contain all the neccassary dependencies like react-native-crypto, react-native-randombytes etc and we can update the master branch without fork.