Browse Source

Clarify that the default char set returned is base64 encoded

Also, link to a neutral URL for the MIT license instead of the node-ses repo.
tags/v1.1.2
Mark Stosberg 6 months ago
parent
commit
a6dc243138
No account linked to committer's email address
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      README.md

+ 4
- 2
README.md View File

@@ -8,7 +8,9 @@ Node.js module that generates a cryptographically secure random string with a gi
var srs = require('secure-random-string');
```

### Default behavior: Generate a random string 32 characters long.
### Default behavior: Generate a random Base64 encoded string 32 characters long.

This may include alphanumeric characters as well as the following characters: +, /, =.

```javascript
// Sync
@@ -64,4 +66,4 @@ the async API returns the error to the callback.

## License

[MIT](https://github.com/aheckmann/node-ses/blob/master/LICENSE)
[MIT](https://opensource.org/licenses/MIT)

Loading…
Cancel
Save