node-argon2 icon indicating copy to clipboard operation
node-argon2 copied to clipboard

Adding pepper

Open ahkhanjani opened this issue 3 years ago • 2 comments

How can we add pepper? The binaries apparently don't support it. Can we implement a pre-argon pepper hashing or will it be simply useless without the core support?

ahkhanjani avatar Aug 04 '22 20:08 ahkhanjani

You can use secret, pass a Buffer and it will be included in the password hash. That feature is missing from the docs, but you can see the implementation in #241

ranisalt avatar Aug 04 '22 21:08 ranisalt

I was wondering about secret missing in the docs. Shall we add it?

ahkhanjani avatar Aug 05 '22 14:08 ahkhanjani

Hey,hope you're doing well. It's been a while since I opened this. Should it stay open?

ahkhanjani avatar Mar 08 '24 15:03 ahkhanjani

I don't think so, it has been added to the wiki

ranisalt avatar Mar 08 '24 15:03 ranisalt