Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
100 views

How to securely read and store password in memory in nodejs

I want to take a password from user in console, then derive a key from that password. In Java, we can store passwords in a char array and zeroize the array after use. What is the right way of doing ...
AashishKSahu's user avatar
1 vote
1 answer
71 views

Minimum amount of uppercase chars | Password generator

I'm currently working on a password generator (based on a YT video) and the following is what I have so far. HTML file: <!DOCTYPE html> <html lang="en" xmlns="http://www.w3....
The SkyRider's user avatar
3 votes
2 answers
259 views

How to add a special character to A Password Validation Form

I'm trying to make a password validation in javascript, I found several questions here using the same example from W3Schools and I followed all the examples with results but it doesn't make sure you ...
Antarctica-UFO's user avatar
0 votes
0 answers
28 views

trying to submit a form, and it's returning error

I'm trying to submit this from, but it is returning invalid password, I trim()'d the data, both for the registration method const Auth = require('../models/AuthModel'); const jwt = require('...
Joel Somtochukwu's user avatar
0 votes
0 answers
116 views

sodium_crypto_pwhash gives a different result in PHP and in node.js

I'm trying to encrypt a string on the front-end (node.js electron) and trying to decrypt it on the back-end (PHP) using sodium (I've tried libsodium-wrappers and sodium-plus). Everything looks good on ...
hybrazil's user avatar
-3 votes
2 answers
36 views

Jquery Text Function Only Works Twice

I'm trying to run this script many times but it only works twice. What it's supposed to do is ..Type a city name in the text box and then submit it and a function occurs. but it only works twice $(...
Timbukto's user avatar
-1 votes
2 answers
47 views

Using bycrpt.compare in node.js app but it isn't being called or working at all

I am using bycrypt for my login process and it doesn't seem to be working. I have already stored the previously hashed password in the database so I am retrieving it from the database and then ...
reakurtis's user avatar
0 votes
1 answer
319 views

Password in apps script for Google Sheets

I'm in charge of making restricted access to a Google Sheets file and all the sheets within it. My code works but when the user clicks outside the password box, the password box closes and the script ...
Alexander's user avatar
1 vote
2 answers
213 views

Email password reset link does not work with deployed React application

I recently finished a project in React, only the client side was developed, I used a ready-made API. One of the features is password reset, which in the development environment was working perfectly, ...
Hermeson Bastos's user avatar
0 votes
1 answer
138 views

How to handle passwords in JavaScript to hide them from the page source?

I'm using MQTT.js in my browser application. You can set up the broker's credentials in this way: const clientId = '<id>' const host = 'ws://<address>:<port>' const topics = ['<...
Mark's user avatar
  • 5,245
-1 votes
1 answer
50 views

How do I fix these Javascript problems about an input

so I have this password page <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=...
BluedKong's user avatar
0 votes
3 answers
2k views

Adding Password Protection to PDFs Generated with Puppeteer

I'm using NestJS with Puppeteer to generate PDFs in my Node.js application. However, I need to add password protection to the generated PDFs. Here's a version of my code: async generatePdf(body: ...
christian alvarez's user avatar
0 votes
0 answers
169 views

Webscraping password protected site - how implement httr2 to enter in own profile conversations

I am used to webscrape with R but when it comes to webscrape password protected sites I face difficulties. My goal is to simulate an internet browser and read-in my conversations in the logged-in ...
desebast's user avatar
-1 votes
2 answers
95 views

The loop in JS that I got stuck with

Hi I just started learning JS and I gut stuck on this part of the loop: I cant find a way to make it loop 3 times and then block you. or open the site after once or 2 times that i do the wrong ...
ref hal's user avatar
0 votes
1 answer
284 views

HTML Input Pattern claims mismatch while JavaScript test claims match

I am attempting to do a pattern match on a password input and for some reason HTML claims there is a mismatch while JavaScript claims it matches. Testing my RegExp on regexr.com/7gmmi claims it is a-...
Snape Ninja's user avatar

15 30 50 per page
1
2 3 4 5
43