node.js - Usage of Firebase SCrypt params in nodejs scrypt package -


i've been struggling time now, has done before , can me on way. went firebase people request scrypt params in order migrate our user authentication away firebase our own server. got params, have no clue how should map towards node scrypt package (https://www.npmjs.com/package/scrypt). firebase params of following format:

hash_config: {     algorithm: scrypt,     base64_signer_key: asdf1234     base64_salt_seperator: xxxx     rounds: 123456     mem_cost: 098765 } 

somehow these should map onto nodejs scrypt params, can't find similarities. appreciated!

i've been running same problem migrating firebase users over. i've been going , forth firebase technical support - said couldn't share hashing libraries unfortunately. alternative i've migrated users on new db , checked "salt" variable whenever signs in. if salt exists query firebase, otherwise query own db.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -