Closed wameup closed 3 years ago
eccryptoJS.encrypt() requires a Buffer and rejects a Uint8Array, while the originial eccrypto (https://github.com/bitchan/eccrypto) can accept both. This causes my app crash.
IMHO, Uint8Array is better than Buffer since Buffer is invalid in browser.
sorry, wrong place for this issue. It was meant to another project.
eccryptoJS.encrypt() requires a Buffer and rejects a Uint8Array, while the originial eccrypto (https://github.com/bitchan/eccrypto) can accept both. This causes my app crash.
IMHO, Uint8Array is better than Buffer since Buffer is invalid in browser.