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
**buffer** - data for encrypting, may be string, Buffer, or any object/array. Arrays and objects will encoded to JSON string first.<br/>
94
-
**encoding** - encoding for output result, may be `'buffer'`, `'binary'`, `'hex'` or 'base64'. Default `'buffer'`.
107
+
**encoding** - encoding for output result, may be `'buffer'`, `'binary'`, `'hex'` or 'base64'. Default `'buffer'`.<br/>
95
108
**source_encoding** - source encoding, works only with string buffer. Can take standard Node.js Buffer encodings (hex, utf8, base64, etc). `'utf8'` by default.<br/>
96
109
97
110
```js
@@ -124,6 +137,8 @@ Questions, comments, bug reports, and pull requests are all welcome.
124
137
125
138
### 0.1.50
126
139
* Implemented native js signing and verifying for browsers
140
+
*`options.signingAlgorithm` now takes only hash-algorithm name
141
+
* Added `.getKeySize()` and `.getMaxMessageSize()` methods
127
142
*`.loadFromPublicPEM` and `.loadFromPrivatePEM` methods marked as private
0 commit comments