const argon2 = require('argon2');

async function generateHash() {
  const hash = await argon2.hash('Password123!', {
    type: argon2.argon2id,
    memoryCost: 65536, // 64 MB
    timeCost: 3,
    parallelism: 4,
  });
  console.log('Argon2id hash for "Password123!":');
  console.log(hash);
}

generateHash().catch(console.error);
