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.
75
-
***source_encoding** - source encoding, works only with string buffer. Can take standard Node.js Buffer encodings (hex, utf8, base64, etc). *Utf8* by default.
76
-
***output_encoding** - encoding for output result, can also take 'buffer' to return Buffer object. Default *base64*.
74
+
**buffer** - data for encrypting, may be string, Buffer, or any object/array. Arrays and objects will encoded to JSON string first.
75
+
**source_encoding** - source encoding, works only with string buffer. Can take standard Node.js Buffer encodings (hex, utf8, base64, etc). *Utf8* by default.
76
+
**output_encoding** - encoding for output result, can also take 'buffer' to return Buffer object. Default *base64*.
77
77
78
78
```js
79
79
key.decrypt(buffer, [encoding]);
@@ -89,15 +89,14 @@ Questions, comments, bug reports, and pull requests are all welcome.
89
89
90
90
## License for NodeRSA.js
91
91
92
-
Copyright (c) 2014 rzcoder
93
-
92
+
Copyright (c) 2014 rzcoder
94
93
All Rights Reserved.
95
94
96
95
BSD
97
96
98
97
## Licensing for code used in rsa.js and jsbn.js
99
98
100
-
Copyright (c) 2003-2005 Tom Wu
99
+
Copyright (c) 2003-2005 Tom Wu
101
100
All Rights Reserved.
102
101
103
102
Permission is hereby granted, free of charge, to any person obtaining
@@ -123,4 +122,4 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
123
122
In addition, the following condition applies:
124
123
125
124
All redistributions must retain an intact copy of this copyright notice
0 commit comments