Im attempting to use this library within an electron app. I have currently implemented https://github.com/chesstrian/JSCryptor, however the requirement for native dependencies isnt ideal, so Im looking to move to this library.
In order to integrate the library, Ive downloaded the src for v0.0.2, and added export default sjcl; to the end of sjcl.js, and import sjcl from './sjcl';, export default RNCryptor; to rncryptor.js
When attempting to encrypt a file, I am receiving.
sjcl.js [sm]:1 Uncaught NOT READY: generator isn't seeded
Im attempting to use this library within an electron app. I have currently implemented https://github.com/chesstrian/JSCryptor, however the requirement for native dependencies isnt ideal, so Im looking to move to this library.
In order to integrate the library, Ive downloaded the src for v0.0.2, and added
export default sjcl;
to the end of sjcl.js, andimport sjcl from './sjcl';
,export default RNCryptor;
to rncryptor.jsWhen attempting to encrypt a file, I am receiving.
Any clue as to what might be wrong?