Skip to content

Commit 9c281a2

Browse files
committed
Line fixes
1 parent dbefb17 commit 9c281a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Node-RSA
22

3-
Node.js RSA library
3+
Node.js RSA library<br/>
44
Based on jsbn library from Tom Wu http://www-cs-students.stanford.edu/~tjw/jsbn/
55

66
* Pure JavaScript
@@ -73,15 +73,15 @@ key.isPublic();
7373
```js
7474
key.encrypt(buffer, [source_encoding], [output_encoding]);
7575
```
76-
**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/>
7878
**output_encoding** - encoding for output result, can also take 'buffer' to return Buffer object. Default *base64*.
7979

8080
```js
8181
key.decrypt(buffer, [encoding]);
8282
```
8383

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/>
8585
**encoding** - encoding for result string. Can also take 'buffer' for raw Buffer object, or 'json' for automatic JSON.parse result.
8686

8787

@@ -91,14 +91,14 @@ Questions, comments, bug reports, and pull requests are all welcome.
9191

9292
## License for NodeRSA.js
9393

94-
Copyright (c) 2014 rzcoder
94+
Copyright (c) 2014 rzcoder<br/>
9595
All Rights Reserved.
9696

9797
BSD
9898

9999
## Licensing for code used in rsa.js and jsbn.js
100100

101-
Copyright (c) 2003-2005 Tom Wu
101+
Copyright (c) 2003-2005 Tom Wu<br/>
102102
All Rights Reserved.
103103

104104
Permission is hereby granted, free of charge, to any person obtaining

0 commit comments

Comments
 (0)