From a6dc243138f878f980a7091e92f3fae9cb835f4e Mon Sep 17 00:00:00 2001 From: Mark Stosberg Date: Fri, 12 Jul 2019 09:20:40 -0400 Subject: [PATCH] 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. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b04f233..319dec7 100644 --- a/README.md +++ b/README.md @@ -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)