You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**@deprecated - use `PublicKey.toBytes(false)` instead. You may also need `Buffer.from`. */
114
-
getuncompressed(): Buffer;
115
-
/**@deprecated - use `PublicKey.toBytes()` instead. You may also need `Buffer.from`. */
116
-
getcompressed(): Buffer;
117
-
```
118
-
119
110
## Configuration
120
111
121
112
Following configurations are available.
@@ -190,8 +181,6 @@ Via [`@ecies/ciphers`](https://github.com/ecies/js-ciphers), `node:crypto`'s nat
190
181
191
182
This library is browser-friendly, check the [`example/browser`](./example/browser) directory for details. You can check [the online demo](https://js-demo.ecies.org/) as well.
192
183
193
-
Currently it's necessary to polyfill `Buffer` for backward compatibility. From v0.5.0, it can run in browsers as is.
194
-
195
184
If you want a WASM version to run directly in modern browsers or on some blockchains, you can also try [`ecies-wasm`](https://github.com/ecies/rs-wasm).
0 commit comments