For a Login I need to hash with pbkdf2

When I try:

xport const code = async (inputs) => {
var pbkdf2 = require(‘pbkdf2’);
var derivedKey = pbkdf2.pbkdf2Sync(‘test’, ‘salt’, 1, 32, ‘sha512’);

return true;


Cannot find module ‘pbkdf2’

Hi @Christian_Eichhorn

Click on Fullscreen button for Code Editor then click on Add npm package button and type pbkdf2 and then press enter.

This should install pbkdf2 module, please let me know if that fixes your issue.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.