tagged [passwords]
How to pass the password to su/sudo/ssh without overriding the TTY?
How to pass the password to su/sudo/ssh without overriding the TTY? I'm writing a C Shell program that will be doing `su` or `sudo` or `ssh`. They all want their passwords in console input (the TTY) r...
Android EditText for password with android:hint
Android EditText for password with android:hint Just noticed that , and we should be using android:inputType. Was experimenting with it by setting in my xml Indeed it behaves like for EditText, but it...
- Modified
- 2 Jun at 12:56
Password masking console application
Password masking console application I tried the following code... ``` string pass = ""; Console.Write("Enter your password: "); ConsoleKeyInfo key; do { key = Console.ReadKey(true); // Backspace ...
- Modified
- 7 Feb at 18:55
Is app.config file a secure place to store passwords?
Is app.config file a secure place to store passwords? I need to store confidential passwords within the code. I cannot use Hashing techniques as the password itself is needed. How can I store these da...
- Modified
- 17 Nov at 16:49
Salt and hash a password in Python
Salt and hash a password in Python This code is supposed to hash a password with a salt. The salt and hashed password are being saved in the database. The password itself is not. Given the sensitive n...
- Modified
- 17 Oct at 10:36
Laravel Password & Password_Confirmation Validation
Laravel Password & Password_Confirmation Validation I've been using this in order to edit the User Account Info: This worked fine in a Laravel 5.2 Application but does not work in a 5.4 Application. [...
- Modified
- 12 Apr at 13:2
Code for password generator
Code for password generator I'm working on a C# project where I need to generate random passwords. Can anyone provide some code or a high-level approach for password generation? It should be possible ...
Default password of mysql in ubuntu server 16.04
Default password of mysql in ubuntu server 16.04 I have installed ubuntu 16.04 server. Mysql server was installed by default in it. When I am trying to access the mysql with `mysql -u root -p`, I am u...
- Modified
- 14 Sep at 14:58
How to generate a random string in Ruby
How to generate a random string in Ruby I'm currently generating an 8-character pseudo-random uppercase string for "A" .. "Z": ``` value = ""; 8.times{value
Enter export password to generate a P12 certificate
Enter export password to generate a P12 certificate I would like to generate a P12 certificate from a .key and .pem. I'm running this command and get prompted to enter a export password: ![enter image...
- Modified
- 20 Jun at 09:12
How to get back Lost phpMyAdmin Password, XAMPP
How to get back Lost phpMyAdmin Password, XAMPP I have a local host running on XAMPP on a Mac. At some point I set a password in phpMyAdmin which I've ow forgotten. Can anyone help me get back into ph...
- Modified
- 27 Dec at 07:4
How to send password using sftp batch file
How to send password using sftp batch file I'm trying to download a file from sftp site using batch script. I'm getting the following error: When running the command: the `batchfile.sftp` includes the...
- Modified
- 16 Jul at 16:17
Difference between Hashing a Password and Encrypting it
Difference between Hashing a Password and Encrypting it The current top-voted to [this question](https://stackoverflow.com/questions/325862/what-are-the-most-common-security-mistakes-programmers-make)...
- Modified
- 23 May at 11:33
Generating Random Passwords
Generating Random Passwords When a user on our site loses his password and heads off to the Lost Password page we need to give him a new temporary password. I don't really mind how random this is, or ...
How do I remove the passphrase for the SSH key without having to create a new key?
How do I remove the passphrase for the SSH key without having to create a new key? I set a passphrase when creating a new SSH key on my laptop. But, as I realise now, this is quite painful when you ar...
- Modified
- 26 Jul at 05:0
Password encryption at client side
Password encryption at client side > [About password hashing system on client side](https://stackoverflow.com/questions/3715920/about-password-hashing-system-on-client-side) I have to secure the pas...
- Modified
- 24 Oct at 19:4
looking for c# equivalent of php's password-verify()
looking for c# equivalent of php's password-verify() I need to import a bunch of user accounts Moodle into a system written in c#. Moodle uses password_hash() function to create hashes of passwords. I...
- Modified
- 24 Mar at 16:52
Preventing DB password from being accidentally checked into public SVN
Preventing DB password from being accidentally checked into public SVN Does anyone know of a technique to prevent someone (me!) accidentally committing a file with a public database connection string ...
- Modified
- 25 Mar at 11:47
PHP: Split a string in to an array foreach char
PHP: Split a string in to an array foreach char I am making a method so your password needs at least one captial and one symbol or number. I was thinking of splitting the string in to lose chars and t...
- Modified
- 18 Aug at 13:45
How to code a very simple login system with java
How to code a very simple login system with java I need to create a system that checks a file for the username and password and if it is correct, it says whether or not in a label. So far I have been ...
- Modified
- 18 May at 19:22
How do you use bcrypt for hashing passwords in PHP?
How do you use bcrypt for hashing passwords in PHP? Every now and then I hear the advice "Use bcrypt for storing passwords in PHP, bcrypt rules". But what is `bcrypt`? PHP doesn't offer any such funct...
- Modified
- 13 Apr at 17:1
WebMatrix WebSecurity PasswordSalt
WebMatrix WebSecurity PasswordSalt I am using WebMatrix and have built a website based on the "StarterSite". In this starter site you get a nice basic layout - including registration, login, forgot pa...
- Modified
- 1 Mar at 19:42
Windows equivalent of OS X Keychain?
Windows equivalent of OS X Keychain? Is there an equivalent of the OS X Keychain, used to store user passwords, in Windows? I would use it to save the user's password for a web service that my (deskto...
Hash and salt passwords in C#
Hash and salt passwords in C# I was just going through one of DavidHayden's articles on [Hashing User Passwords](http://web.archive.org/web/20120413180026/http://davidhayden.com/blog/dave/archive/2004...