This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* Secure Hash Algorithm (SHA256) | |
* http://www.webtoolkit.info/javascript-sha256.html | |
* http://anmar.eu.org/projects/jssha2/ | |
* | |
* Original code by Angel Marin, Paul Johnston. | |
* Modified with arrow functions and used let and const | |
* | |
**/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var people = [ | |
{ | |
"age": 3, | |
"name": "Rob" | |
}, { | |
"age": 5, | |
"name": "Tylor" | |
},{ | |
"age": 4, | |
"name": "Eric" |