Skip to content

Commit

Permalink
dependency bump to fix security vulnerability
Browse files Browse the repository at this point in the history
also updated README to fix randomstring examples
  • Loading branch information
therightstuff committed Jul 31, 2020
1 parent 085fa2b commit a632338
Show file tree
Hide file tree
Showing 4 changed files with 810 additions and 407 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ npm run build
<script language="javascript">
// Call this code when the page is done loading.
$(function () {
alert('random 32 character string generated: ' + sfet.utils.randomstring(32));
alert('random 32 character string generated: ' + sfet.utils.randomstring.generate(32));
alert('"secret md5 message" hashed: ' + sfet.md5.hash('secret md5 message'));
alert('"secret sha256 message" hashed: ' + sfet.sha256.hash('secret sha256 message'));
Expand Down Expand Up @@ -83,7 +83,7 @@ npm run build
```javascript
const sfet = require('simple-free-encryption-tool');

console.log('random 32 character string generated: ' + sfet.utils.randomstring(32));
console.log('random 32 character string generated: ' + sfet.utils.randomstring.generate(32));
console.log('"secret md5 message" hashed: ' + sfet.md5.hash('secret md5 message'));
console.log('"secret sha256 message" hashed: ' + sfet.sha256.hash('secret sha256 message'));

Expand Down
Loading

0 comments on commit a632338

Please sign in to comment.