Top "Masking" questions

Force user input to conform to given rules.

Password masking console application

I tried the following code... string pass = ""; Console.Write("Enter your password: "); ConsoleKeyInfo key; do { key = Console.ReadKey(true); // Backspace …

c# passwords console-application user-input masking
Masking password input from the console : Java

How to mask a password from console input? I'm using Java 6. I've tried using console.readPassword(), but it wouldn't work. …

java console passwords console-application masking
Easiest way to mask characters in HTML(5) text input

Does HTML5 have any kind of text field masking or do I still have to trap onkeydown etc.? jbabey is …

javascript html masking
Using CSS, can you apply a gradient mask to fade to the background over text?

I have a full screen fixed background image. I would like the text in my scrolling div to fade out …

css gradient masking
Python: Elegant and efficient ways to mask a list

Example: from __future__ import division import numpy as np n = 8 """masking lists""" lst = range(n) print lst # the mask (filter) …

python arrays list masking
HTML Form Field - How to require an input format

What I want to do here is require that phone numbers be entered into my HTML form as (XXX) XXX-XXXX …

javascript html forms field masking
input time mask using jquery

I am using meioMask – a jQuery mask plugin to put time mask in a textbox. Here is the JsFiddle. It's …

jquery time masking
Hiding raw_input() password input

I want to hide my password but I don't know how. I have seen show="*" and also getpass but I …

python masking raw-input
masking a creditcard number in java

I tried to mask the characters in a creditcard number string using character 'X'.I wrote two functions as below .…

java masking apache-commons-lang
How to mask string?

I have a string with value "1131200001103". How can I display it as a string in this format "11-312-001103" using …

c# string string-formatting masking