Home
last modified time | relevance | path

Searched refs:secret (Results 1 – 16 of 16) sorted by relevance

/dokuwiki/_test/tests/inc/
Dauth_encryption.test.php11 $secret = "oeaf1öasdöflk§";
12 $this->assertEquals($data, auth_decrypt(auth_encrypt($data, $secret), $secret));
20 $secret = 'secret';
23 $this->assertEquals($plain, auth_decrypt(hex2bin($crypt), $secret));
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
Dlibsodium.php99 * @param string $secret optional
103 …avePrivateKey(BigInteger $privateKey, Ed25519 $curve, array $publicKey, $secret = null, $password … argument
105 if (!isset($secret)) {
108 if (strlen($secret) != 32) {
114 return $secret . $curve->encodePoint($publicKey);
DMontgomeryPrivate.php89 * @param string $secret optional
93 …teKey(BigInteger $privateKey, MontgomeryCurve $curve, array $publicKey, $secret = null, $password … argument
DOpenSSH.php177 * @param string $secret optional
182 …ePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $secret = null, $password … argument
185 if (!isset($secret)) {
188 if (strlen($secret) != 32) {
195 $privateKey = Strings::packSSH2('sss', 'ssh-ed25519', $pubKey, $secret . $pubKey);
DPuTTY.php90 * @param string $secret optional
95 …ePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $secret = null, $password … argument
115 Strings::packSSH2('s', $secret) :
DJWK.php176 * @param string $secret optional
181 …ePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $secret = null, $password … argument
184 $key['d'] = $curve instanceof TwistedEdwardsCurve ? $secret : $privateKey->toBytes();
DPKCS8.php199 * @param string $secret optional
204 …ePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $secret = null, $password … argument
214 chr(ASN1::TYPE_OCTET_STRING) . ASN1::encodeLength($curve::SIZE) . $secret,
DPKCS1.php168 * @param string $secret optional
173 …ePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $secret = null, $password … argument
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
DPrivateKey.php50 protected $secret; variable in phpseclib3\\Crypt\\EC\\PrivateKey
120 $secret = substr($hash->hash($this->secret), $curve::SIZE);
130 $r = $hash->hash($dom . $secret . $message);
225 …return $type::savePrivateKey($this->dA, $this->curve, $this->QA, $this->secret, $this->password, $…
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
DDH.php307 $secret = $point;
311 $secret = substr($point, 1, (strlen($point) - 1) >> 1);
318 return $secret;
DEC.php188 $privatekey->secret = $arr['secret'];
241 $new->secret = $components['secret'];
/dokuwiki/inc/
Dauth.php312 $secret = auth_cookiesalt(!$sticky, true); //bind non-sticky to session
313 auth_setCookie($user, auth_encrypt($pass, $secret), $sticky);
348 $secret = auth_cookiesalt(!$sticky, true); //bind non-sticky to session
349 $pass = auth_decrypt($pass, $secret);
458 * @param string $secret The secret/password that shall be used
462 function auth_encrypt($data, $secret) argument
466 $cipher->setPassword($secret, 'pbkdf2', 'sha1', 'phpseclib');
484 * @param string $secret The secret/password that shall be used
487 function auth_decrypt($ciphertext, $secret) argument
491 $cipher->setPassword($secret, 'pbkdf2', 'sha1', 'phpseclib');
DJWT.php12 protected $secret; variable in dokuwiki\\JWT
Dinfoutils.php643 if (preg_match('/(notify|pass|auth|secret|ftp|userinfo|token|buid|mail|proxy)/i', $key)) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/
DEd448.php129 $dA->secret = $str;
/dokuwiki/lib/plugins/authldap/
Dauth.php343 $secret = auth_cookiesalt(!$loginsticky, true);
344 $pass = auth_decrypt($loginpass, $secret);