Message from JavaScript discussions

February 2018

— Hi, what is the best algorithm to make password protected content

— 

Hey guys, what you think about 'deepDive' function of accordion: https://rawgit.com/determin1st/w3ui-demo/accordion/index.html

— It hides adjacent panels on selection

— I plan to make 'deepestDive' option, to display only one panel (hide parents also)

— 

if (loggedInWithPassword) {
showContent();
} else {
hideContent();
}

— I mean hash algorithm

— Bcrypt

— Are you writing nodejs?

— In js ?

— Yes

— Then use this:

https://www.npmjs.com/package/credential

— Is there any native implementation ? from crypto module it self ?