Meteor Encryption

I have a custom login form. It has about 10 entrances. I want to save this user, randomly generate a password and hash and salt it and save it. How to do it? I could not find a good tutorial for using Crypto.js in meteorites. I always stumble upon a packet of password passwords.

+4
source share
1 answer

accounts-passwordreally cares about it for you. I wish the documentation on the implementation details was better, but you can see the overview here .

Passwords are verified by checking hashes, so only the hashed version is transferred from the client to the server, which is then launched through bcrypt.

client: password → network: sha256 (password) → server: bcrypt (sha256 (password))

What is nice about this implementation: (a) the server never sees or saves data equivalent to the password, (b) all this is done for you, just installing the package.

Also see this hackpad for more details.

+13
source

All Articles