/dports/sysutils/py-glances/glances-3.1.4/glances/ |
H A D | password.py | 45 def sha256_hash(self, plain_password): argument 47 return hashlib.sha256(b(plain_password)).hexdigest() 49 def get_hash(self, salt, plain_password): argument 51 return hashlib.sha256(salt.encode() + plain_password.encode()).hexdigest() 53 def hash_password(self, plain_password): argument 56 encrypted_password = self.get_hash(salt, plain_password) 59 def check_password(self, hashed_password, plain_password): argument 65 re_encrypted_password = self.get_hash(salt, plain_password)
|
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/pluginsimpl/local/ui/config/ |
H A D | PasswordParameterImpl.java | 75 String plain_password ) in setValue() argument 79 if ( plain_password == null || plain_password.length() == 0){ in setValue() 85 encoded = encode( plain_password ); in setValue()
|
/dports/sysutils/conan/conan-1.44.0/conans/server/service/ |
H A D | authorize.py | 69 def valid_user(self, username, plain_password): argument 90 def valid_user(self, username, plain_password): argument 96 return username in self.users and self.users[username] == plain_password
|
/dports/net/py-pyzmq/pyzmq-22.3.0/examples/security/ |
H A D | woodhouse.py | 42 client.plain_password = b'secret' 57 client2.plain_password = b'bogus'
|
/dports/net/py-pyzmq/pyzmq-22.3.0/zmq/tests/ |
H A D | test_auth.py | 185 client.plain_password = b'Password' 193 client.plain_password = b'Password' 202 client.plain_password = b'Bogus' 513 self.client.plain_password = b'Password' 521 self.client.plain_password = b'Password' 530 self.client.plain_password = b'Bogus'
|
H A D | test_security.py | 127 self.assertEqual(client.plain_password, b'') 129 client.plain_password = PASS 154 client.plain_password = b'incorrect'
|
/dports/www/py-fastapi/fastapi-0.70.0/docs_src/security/ |
H A D | tutorial004.py | 55 def verify_password(plain_password, hashed_password): argument 56 return pwd_context.verify(plain_password, hashed_password)
|
H A D | tutorial005.py | 70 def verify_password(plain_password, hashed_password): argument 71 return pwd_context.verify(plain_password, hashed_password)
|
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/plugins/ui/config/ |
H A D | PasswordParameter.java | 43 String plain_password ); in setValue() argument
|
/dports/mail/dovecot/dovecot-2.3.17/src/auth/ |
H A D | auth-request.h | 311 const char *plain_password, 315 const char *plain_password,
|
H A D | password-scheme.h | 79 password_scheme_detect(const char *plain_password, const char *crypted_password,
|
H A D | auth-request.c | 2234 const char *plain_password, in log_password_failure() argument 2246 plain_password, crypted_password); in log_password_failure() 2251 working_scheme = password_scheme_detect(plain_password, in log_password_failure() 2340 const char *plain_password, in auth_request_password_verify() argument 2344 return auth_request_password_verify_log(request, plain_password, in auth_request_password_verify() 2349 const char *plain_password, in auth_request_password_verify_log() argument 2396 ret = password_verify(plain_password, &gen_params, in auth_request_password_verify_log() 2409 log_password_failure(request, plain_password, in auth_request_password_verify_log()
|
H A D | db-lua.c | 190 const char *plain_password = lua_tostring(L, 3); in auth_request_lua_password_verify() local 215 ret = password_verify(plain_password, &gen_params, in auth_request_lua_password_verify()
|
/dports/net-mgmt/pmacct/pmacct-1.7.5/examples/lg/ |
H A D | pmbgp.py | 139 lgClientZmqReq.plain_password = lgPasswd
|
/dports/net/libzmq4/zeromq-4.3.4/src/ |
H A D | options.hpp | 209 std::string plain_password; member
|
H A D | plain_client.cpp | 123 const std::string password = options.plain_password; in produce_hello()
|
H A D | options.cpp | 600 plain_password.assign (static_cast<const char *> (optval_), in setsockopt() 1123 return do_getsockopt (optval_, optvallen_, plain_password); in getsockopt()
|
/dports/net/py-pyzmq/pyzmq-22.3.0/bundled/zeromq/src/ |
H A D | options.hpp | 209 std::string plain_password; member
|
H A D | plain_client.cpp | 123 const std::string password = options.plain_password; in produce_hello()
|
H A D | options.cpp | 600 plain_password.assign (static_cast<const char *> (optval_), in setsockopt() 1123 return do_getsockopt (optval_, optvallen_, plain_password); in getsockopt()
|
/dports/net/czmq/czmq-4.1.1/bindings/python_cffi/czmq_cffi/ |
H A D | Zsock.py | 665 def plain_password(self): member in Zsock 672 def set_plain_password(self, plain_password): argument 677 utils.lib.zsock_set_plain_password(self._p, utils.to_bytes(plain_password))
|
/dports/databases/pgbouncer/pgbouncer-1.16.0/src/ |
H A D | scram.c | 743 static bool build_adhoc_scram_secret(const char *plain_password, ScramState *scram_state) in build_adhoc_scram_secret() argument 752 rc = pg_saslprep(plain_password, &prep_password); in build_adhoc_scram_secret() 758 password = plain_password; in build_adhoc_scram_secret()
|
/dports/security/softether5/SoftEtherVPN-5.02.5180/src/Cedar/ |
H A D | Protocol.c | 1493 char plain_password[MAX_PASSWORD_LEN + 1]; in ServerAccept() local 1863 Zero(plain_password, sizeof(plain_password)); in ServerAccept() 1864 PackGetStr(p, "plain_password", plain_password, sizeof(plain_password)); in ServerAccept() 1865 if (c->IsInProc == false && StartWith(plain_password, IPC_PASSWORD_MSCHAPV2_TAG)) in ServerAccept() 1868 Zero(plain_password, sizeof(plain_password)); in ServerAccept() 1876 bool is_mschap = StartWith(plain_password, IPC_PASSWORD_MSCHAPV2_TAG); in ServerAccept() 1878 HashPassword(hash_password, username, plain_password); in ServerAccept() 1888 plain_password, mschap_v2_server_response_20, &ms_chap_error); in ServerAccept() 1956 if(IsEmptyStr(plain_password)){ in ServerAccept() 6639 PACK *PackLoginWithPlainPassword(char *hubname, char *username, void *plain_password) in PackLoginWithPlainPassword() argument [all …]
|
H A D | Protocol.h | 137 PACK *PackLoginWithPlainPassword(char *hubname, char *username, void *plain_password);
|
/dports/net/czmq4/czmq-4.2.1/bindings/python_cffi/czmq_cffi/ |
H A D | Zsock.py | 1076 def plain_password(self): member in Zsock 1083 def set_plain_password(self, plain_password): argument 1088 utils.lib.zsock_set_plain_password(self._p, utils.to_bytes(plain_password))
|