Home
last modified time | relevance | path

Searched full:password (Results 1 – 25 of 1622) sorted by relevance

12345678910>>...65

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DPBEParametersGenerator.java6 * super class for all Password Based Encryption (PBE) parameter generator classes.
10 protected byte[] password; field in PBEParametersGenerator
24 * @param password the password converted into bytes (see below).
25 * @param salt the salt to be mixed with the password.
30 byte[] password, in init() argument
34 this.password = password; in init()
40 * return the password byte array.
42 * @return the password byte array.
46 return password; in getPassword()
97 * converts a password to a byte array according to the scheme in
[all …]
/external/curl/tests/unit/
Dunit1304.c27 static char *password; variable
32 password = strdup(""); in unit_setup()
34 if (!password || !login) { in unit_setup()
35 Curl_safefree(password); in unit_setup()
44 Curl_safefree(password); in unit_stop()
57 result = Curl_parsenetrc("test.example.com", &login, &password, filename);
59 abort_unless(password != NULL, "returned NULL!");
60 fail_unless(password[0] == 0, "password should not have been changed");
70 result = Curl_parsenetrc("example.com", &login, &password, filename);
72 abort_unless(password != NULL, "returned NULL!");
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKCS12Key.java6 * A password based key for use with PKCS#12.
11 private final char[] password; field in PKCS12Key
14 …* Basic constructor for a password based key - secret key generation parameters will be passed sep…
16 * @param password password to use.
18 public PKCS12Key(char[] password) in PKCS12Key() argument
20 this(password, false); in PKCS12Key()
27 * @param password password to use.
30 public PKCS12Key(char[] password, boolean useWrongZeroLengthConversion) in PKCS12Key() argument
32 this.password = new char[password.length]; in PKCS12Key()
35 System.arraycopy(password, 0, this.password, 0, password.length); in PKCS12Key()
[all …]
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DPBEKeySpecTest.java38 * PBEKeySpec(char[] password) method testing. Tests the behavior of
51 char[] password = new char[] { '1', '2', '3', '4', '5' }; in testPBEKeySpec1() local
52 PBEKeySpec pbeks = new PBEKeySpec(password); in testPBEKeySpec1()
53 password[0]++; in testPBEKeySpec1()
54 assertFalse("The change of password specified in the constructor " in testPBEKeySpec1()
56 password[0] == pbeks.getPassword()[0]); in testPBEKeySpec1()
60 * PBEKeySpec(char[] password, byte[] salt, int iterationCount, int
66 char[] password = new char[] { '1', '2', '3', '4', '5' }; in testPBEKeySpec2() local
83 new PBEKeySpec(password, null, iterationCount, keyLength); in testPBEKeySpec2()
92 new PBEKeySpec(password, new byte[0], iterationCount, keyLength); in testPBEKeySpec2()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/user/
DUserAccount.groovy19 * Represents a single user account on the server, including the username, password and home
22 * The <code>isValidPassword()</code> method returns true if the specified password matches
23 * the password value configured for this user account. This implementation uses the
29 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
35 String password
41 * Return true if the specified password is the correct, valid password for this user account.
43 * custom comparison behavior, for instance using encrypted password values, by overriding this
46 * @param password - the password to compare against the configured value
47 * @return true if the password is correct and valid
51 boolean isValidPassword(String password) {
[all …]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password and home
32 * The <code>isValidPassword()</code> method returns true if the specified password matches
33 * the password value configured for this user account. This implementation uses the
40 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
45 * PASSWORD (PASS) command is completed.
55 private String password; field in UserAccount
73 * @param password - the password
76 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
78 setPassword(password); in UserAccount()
91 return password; in getPassword()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/db/
Dtest_password.py44 from boto.utils import Password
49 password=PasswordProperty(hashfunc=hashfunc) variable in PasswordPropertyTest.test_model.MyModel
53 from boto.utils import Password
60 ## Define a new Password class
61 class MyPassword(Password):
64 ## Define a custom password property using the new Password class
70 ## Define a model using the new password property
73 password=MyPasswordProperty()#hashfunc=hashlib.md5) variable in PasswordPropertyTest.test_custom_password_class.MyModel
76 obj.password = 'bar'
78 log.debug("\npassword=%s\nexpected=%s" % (obj.password, expected))
[all …]
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/jetty/src/java/org/eclipse/jetty/util/security/
DPassword.java29 * Password utility class.
31 * This utility class gets a password or pass phrase either by:
34 * + Password is set as a system property.
35 * + The password is prompted for and read from standard input
36 * + A program is run to get the password.
40 * by run org.eclipse.util.Password as a main class. Obfuscated password are
41 * required if a system needs to recover the full password (eg. so that it may
46 * real password cannot be retrieved, but comparisons can be made to other
48 * a main class, passing password and then the username. Checksum passwords are
55 public class Password extends Credential class
[all …]
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Dsecurity.py6 Security related helpers such as secure password hashing tools and a
98 def generate_password_hash(password, method='sha1', length=22, pepper=None): argument
99 """Hashes a password.
106 is used, hmac is used internally to salt the password.
108 :param password:
109 The password to hash.
124 hashval = hash_password(password, method, salt, pepper)
131 def check_password_hash(password, pwhash, pepper=None): argument
132 """Checks a password against a given salted and hashed password value.
137 :param password:
[all …]
/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_security_test.py32 password = 'foo'
33 hashval = security.generate_password_hash(password, 'sha1')
34 self.assertTrue(security.check_password_hash(password, hashval))
36 hashval = security.generate_password_hash(password, 'sha1', pepper='bar')
37 self.assertTrue(security.check_password_hash(password, hashval,
40 hashval = security.generate_password_hash(password, 'md5')
41 self.assertTrue(security.check_password_hash(password, hashval))
43 hashval = security.generate_password_hash(password, 'plain')
44 self.assertTrue(security.check_password_hash(password, hashval))
46 hashval = security.generate_password_hash(password, 'plain')
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/user/
DUserAccountTest.groovy30 private static final PASSWORD = "password123"
37 userAccount.password = PASSWORD
38 assert userAccount.isValidPassword(PASSWORD)
46 userAccount.password = PASSWORD
47 shouldFail(AssertionError) { userAccount.isValidPassword(PASSWORD) }
50 shouldFail(AssertionError) { userAccount.isValidPassword(PASSWORD) }
56 customUserAccount.password = PASSWORD
58 assert customUserAccount.isValidPassword(PASSWORD) == false
59 assert customUserAccount.isValidPassword(PASSWORD + "123")
64 userAccount.password = PASSWORD
/external/toybox/toys/lsb/
Dpasswd.c1 /* passwd.c - Program to update user password.
20 -d Set password to ''
25 bool "Add sad password checking heuristics"
29 Password changes are checked to make sure they don't include the entire
30 username (but not a subset of it), and the entire previous password
32 accepts "aaaaaa" as a password.
55 xprintf("BAD PASSWORD: %s\n",msg); in strength_check()
60 msg = "user based password"; in strength_check()
61 xprintf("BAD PASSWORD: %s\n",msg); in strength_check()
66 xprintf("BAD PASSWORD: %s\n",msg); in strength_check()
[all …]
/external/wpa_supplicant_8/hostapd/
Dhostapd.eap_user3 # Each line must contain an identity, EAP method(s), and an optional password
4 # separated with whitespace (space or tab). The identity and password must be
5 # double quoted ("user"). Password can alternatively be stored as
6 # NtPasswordHash (16-byte MD4 hash of the unicode presentation of the password
8 # that the plaintext password does not need to be included in the user file.
9 # Password hash is stored as hash:<16-octets of hex data> without quotation
20 # password option.
22 # password.
49 # plaintext password while TTLS-MSCHAP and TTLS-MSCHAPV2 can use NT password
59 "user" MD5 "password"
[all …]
/external/curl/tests/data/
Dtest202312 <!-- First request has Basic auth, wrong password -->
14 HTTP/1.1 401 Sorry wrong password
20 This is a bad password page!
23 <!-- Second request has Basic auth, right password -->
33 <!-- Third request has Basic auth, wrong password -->
35 HTTP/1.1 401 Sorry wrong password (2)
41 This is a bad password page!
44 <!-- Fourth request has Basic auth, wrong password -->
46 HTTP/1.1 401 Sorry wrong password (3)
52 This is a bad password page!
[all …]

12345678910>>...65