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.
77
-
**source_encoding** - source encoding, works only with string buffer. Can take standard Node.js Buffer encodings (hex, utf8, base64, etc). *Utf8* by default.
76
+
**buffer** - data for encrypting, may be string, Buffer, or any object/array. Arrays and objects will encoded to JSON string first.<br/>
77
+
**source_encoding** - source encoding, works only with string buffer. Can take standard Node.js Buffer encodings (hex, utf8, base64, etc). *Utf8* by default.<br/>
78
78
**output_encoding** - encoding for output result, can also take 'buffer' to return Buffer object. Default *base64*.
79
79
80
80
```js
81
81
key.decrypt(buffer, [encoding]);
82
82
```
83
83
84
-
**buffer** - data for decrypting. Takes Buffer object or base64 encoded string.
84
+
**buffer** - data for decrypting. Takes Buffer object or base64 encoded string.<br/>
85
85
**encoding** - encoding for result string. Can also take 'buffer' for raw Buffer object, or 'json' for automatic JSON.parse result.
86
86
87
87
@@ -91,14 +91,14 @@ Questions, comments, bug reports, and pull requests are all welcome.
91
91
92
92
## License for NodeRSA.js
93
93
94
-
Copyright (c) 2014 rzcoder
94
+
Copyright (c) 2014 rzcoder<br/>
95
95
All Rights Reserved.
96
96
97
97
BSD
98
98
99
99
## Licensing for code used in rsa.js and jsbn.js
100
100
101
-
Copyright (c) 2003-2005 Tom Wu
101
+
Copyright (c) 2003-2005 Tom Wu<br/>
102
102
All Rights Reserved.
103
103
104
104
Permission is hereby granted, free of charge, to any person obtaining
0 commit comments