nl_tokens: Derive a private key from a password using count iterations of SHA3 - 256
pl_tokens: function ( password , count ) { // Errors if ( ! password ) throw new Error ( 'Missing argument !' ) ; if ( ! count || count <= 0 ) throw new Error ( 'Please provide a count number above 0' ) ; // Processing let data = password ; console . time ( 'sha3^n generation time' ) ; for ( let i = 0 ; i < count ; ++ i ) { data = CryptoJS . SHA3 ( data , { outputLength : 256 } ) ; } console . timeEnd ( 'sha3^n generation time' ) ; // Result return { 'priv' : CryptoJS . enc . Hex . stringify ( <mask> ) } ; }