Skip to content

Commit 0c1937b

Browse files
committed
Line fixes
1 parent 9c281a2 commit 0c1937b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ 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.<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/>
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
@@ -84,21 +84,20 @@ key.decrypt(buffer, [encoding]);
8484
**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

87-
8887
## Contributing
8988

9089
Questions, comments, bug reports, and pull requests are all welcome.
9190

9291
## License for NodeRSA.js
9392

94-
Copyright (c) 2014 rzcoder<br/>
93+
Copyright (c) 2014 rzcoder<br/>
9594
All Rights Reserved.
9695

9796
BSD
9897

9998
## Licensing for code used in rsa.js and jsbn.js
10099

101-
Copyright (c) 2003-2005 Tom Wu<br/>
100+
Copyright (c) 2003-2005 Tom Wu<br/>
102101
All Rights Reserved.
103102

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

0 commit comments

Comments
 (0)