/dports/security/p5-CryptX/CryptX-0.075/t/ |
H A D | mac_hmac.t | 12 is( unpack('H*', hmac('SHA1','secretkey',"")), '3353ae0208558692a0cce27396e07165ea76f969', 'HMAC/fu… 13 is( hmac_hex('SHA1','secretkey',""), '3353ae0208558692a0cce27396e07165ea76f969', 'HMAC/func+hex/1'); 14 is( hmac_b64('SHA1','secretkey',""), 'M1OuAghVhpKgzOJzluBxZep2+Wk=', 'HMAC/func+b64/1'); 15 is( hmac_b64u('SHA1','secretkey',""), 'M1OuAghVhpKgzOJzluBxZep2-Wk', 'HMAC/func+b64u/1'); 26 is( hmac_b64('Tiger192','secretkey',""), '+KMmiQ4HUwqvfrG2DE4Qv6TIdVULqGg+', 'HMAC/func+b64/3'); 27 is( hmac_b64u('Tiger192','secretkey',""), '-KMmiQ4HUwqvfrG2DE4Qv6TIdVULqGg-', 'HMAC/func+b64u/3'); 37 is( hmac_hex('SHA1','secretkey',123), 'd1e8eaf9de1843fda2fa8e63bb6cc8a61a706fd6', 'HMAC/func+hex/5'… 38 is( hmac_b64('SHA1','secretkey',123), '0ejq+d4YQ/2i+o5ju2zIphpwb9Y=', 'HMAC/func+b64/5'); 39 is( hmac_b64u('SHA1','secretkey',123), '0ejq-d4YQ_2i-o5ju2zIphpwb9Y', 'HMAC/func+b64u/5'); 50 is( hmac_b64('Tiger192','secretkey',123), 'JiWz199A+9y4eYfoy1C06BX8+R6sEEyB', 'HMAC/func+b64/7'); [all …]
|
/dports/www/moodle311/moodle/admin/tool/brickfield/classes/ |
H A D | registration.php | 83 protected $secretkey; variable in tool_brickfield\\registration 104 $this->secretkey = $this->get_secret_key(); 135 * @param string $secretkey 139 if ($this->keys_are_valid($apikey, $secretkey)) { 141 $this->set_secret_key($secretkey); 370 $this->secretkey = $keyvalue; 528 * @param string|null $secretkey 533 $secretkey = $secretkey ?? $this->secretkey; 548 * @param string $secretkey 551 protected function secretkey_is_valid(string $secretkey): bool { argument [all …]
|
/dports/www/moodle311/moodle/admin/tool/brickfield/tests/generator/ |
H A D | mock_brickfieldconnect.php | 49 protected $secretkey = ''; variable in tool_brickfield\\mock_brickfieldconnect 56 return ($this->apikey == self::VALIDAPIKEY) && ($this->secretkey == self::VALIDSECRETKEY); 62 * @param string $secretkey 65 public function update_registration(string $apikey, string $secretkey): bool { argument 67 $this->secretkey = $secretkey;
|
/dports/mail/squirrelmail-password_forget-plugin/squirrelmail-password_forget-plugin-php74-2.3/password_forget/ |
H A D | functions.php | 168 global $login_username, $secretkey, 169 $$login_username, $$secretkey; 174 if (empty($$secretkey)) 175 sqGetGlobalVar($secretkey, $$secretkey, SQ_FORM); 178 $secretkey = $$secretkey;
|
/dports/security/zeronet/ZeroNet-0.7.1/src/lib/libsecp256k1message/ |
H A D | libsecp256k1message.py | 18 publickey, secretkey = key_pair() 21 secret_address = compute_secret_address(secretkey) 27 secretkey = PrivateKey() 28 publickey = PublicKey.from_secret(secretkey.secret) 29 return (publickey, secretkey) 36 def compute_secret_address(secretkey): argument 38 secret_plain = b'\x80' + secretkey.secret 96 def sign_data(secretkey, byte_string): argument 102 signature = secretkey.sign_recoverable(encoded)
|
/dports/security/pecl-libsodium/libsodium-2.0.23/ |
H A D | libsodium.c | 1123 char *secretkey; in PHP_FUNCTION() local 1157 zend_string *secretkey; in PHP_FUNCTION() local 1176 RETURN_STR(secretkey); in PHP_FUNCTION() 1207 unsigned char *secretkey; in PHP_FUNCTION() local 1261 secretkey = keypair; in PHP_FUNCTION() 1310 secretkey = keypair; in PHP_FUNCTION() 1383 secretkey = keypair; in PHP_FUNCTION() 1458 char *secretkey; in PHP_FUNCTION() local 1493 char *secretkey; in PHP_FUNCTION() local 1540 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/security/p5-Crypt-GPG/Crypt-GPG-1.64/t/ |
H A D | 05-sigver.t | 38 my $secretkey; 39 ($secretkey) = grep { $_->{Type} =~ /^sec[^\@]?/ } $gpg->keyinfo("A $bits $type") 41 $gpg->secretkey($secretkey->{ID}); 50 $gpg->keypass($secretkey, "$bits Bit $type Test Key", ''); 86 $gpg->secretkey($secretkey); 104 $gpg->keypass($secretkey, '', "$bits Bit $type Test Key");
|
H A D | 04-encdec.t | 38 my $secretkey; 39 ($secretkey) = grep { $_->{Type} =~ /^sec[^\@]?/ } $gpg->keyinfo("A $bits $type") 41 $gpg->secretkey($secretkey); 58 $gpg->keypass($secretkey, "$bits Bit $type Test Key", ''); 76 $gpg->keypass($secretkey, '', "$bits Bit $type Test Key");
|
/dports/security/p5-Crypt-GPG/Crypt-GPG-1.64/ |
H A D | GPG.pm | 64 return unless (!$self->secretkey or $self->secretkey =~ /$self->{VKEYID}/) 71 my @secretkey = ('--default-key', ref($self->secretkey)?$self->secretkey->{ID}:$self->secretkey) 72 if $self->secretkey;; 89 my $h = start ([$self->gpgbin, @opts, @secretkey,'--no-tty', '--status-fd', '2', '--command-fd', 137 return unless $self->secretkey || $_[1]; 174 my $seckey = (ref($self->secretkey)?$self->secretkey->{ID}:$self->secretkey); 258 return unless (!$self->secretkey or $self->secretkey =~ /$self->{VKEYID}/) 284 …(@opts, '--default-key', ref($self->secretkey)?$self->secretkey->{ID}:$self->secretkey) if $sign a… 671 return unless (!$self->secretkey or $self->secretkey =~ /$self->{VKEYID}/) 678 my $signingkey = ($self->keydb($self->secretkey))[0]->{ID}; [all …]
|
/dports/lang/php80/php-8.0.15/ext/sodium/ |
H A D | libsodium.c | 810 char *secretkey; in PHP_FUNCTION() local 841 zend_string *secretkey; in PHP_FUNCTION() local 859 RETURN_STR(secretkey); in PHP_FUNCTION() 889 unsigned char *secretkey; in PHP_FUNCTION() local 939 secretkey = keypair; in PHP_FUNCTION() 985 secretkey = keypair; in PHP_FUNCTION() 1056 secretkey = keypair; in PHP_FUNCTION() 1130 char *secretkey; in PHP_FUNCTION() local 1162 char *secretkey; in PHP_FUNCTION() local 1207 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/security/php80-sodium/php-8.0.15/ext/sodium/ |
H A D | libsodium.c | 810 char *secretkey; in PHP_FUNCTION() local 841 zend_string *secretkey; in PHP_FUNCTION() local 859 RETURN_STR(secretkey); in PHP_FUNCTION() 889 unsigned char *secretkey; in PHP_FUNCTION() local 939 secretkey = keypair; in PHP_FUNCTION() 985 secretkey = keypair; in PHP_FUNCTION() 1056 secretkey = keypair; in PHP_FUNCTION() 1130 char *secretkey; in PHP_FUNCTION() local 1162 char *secretkey; in PHP_FUNCTION() local 1207 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/www/mod_php80/php-8.0.15/ext/sodium/ |
H A D | libsodium.c | 810 char *secretkey; in PHP_FUNCTION() local 841 zend_string *secretkey; in PHP_FUNCTION() local 859 RETURN_STR(secretkey); in PHP_FUNCTION() 889 unsigned char *secretkey; in PHP_FUNCTION() local 939 secretkey = keypair; in PHP_FUNCTION() 985 secretkey = keypair; in PHP_FUNCTION() 1056 secretkey = keypair; in PHP_FUNCTION() 1130 char *secretkey; in PHP_FUNCTION() local 1162 char *secretkey; in PHP_FUNCTION() local 1207 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/dns/unbound/unbound-1.14.0/dnscrypt/testdata/ |
H A D | gencert.sh | 18 --crypt-secretkey-file="${i}.key" \ 20 --provider-secretkey-file="${DIR}/keys${i}/secret.key" 33 --crypt-secretkey-file="${i}.key" \ 35 --provider-secretkey-file="${DIR}/keys${i}/secret.key" \
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/src/utilities/ |
H A D | util_main.c | 73 char *p, *secretkey; in main() local 101 cmd_config = config = secretkey = NULL; in main() 117 free(secretkey); /* lint: set more than once */ in main() 118 if ((secretkey = strdup(__wt_optarg)) == NULL) { in main() 263 if (secretkey != NULL) { in main() 264 len += strlen(secretkey) + 30; in main() 266 p2 = secretkey; in main() 310 free(secretkey); in main()
|
/dports/lang/php73/php-7.3.33/ext/sodium/ |
H A D | libsodium.c | 1099 char *secretkey; in PHP_FUNCTION() local 1134 zend_string *secretkey; in PHP_FUNCTION() local 1154 RETURN_STR(secretkey); in PHP_FUNCTION() 1186 unsigned char *secretkey; in PHP_FUNCTION() local 1242 secretkey = keypair; in PHP_FUNCTION() 1292 secretkey = keypair; in PHP_FUNCTION() 1367 secretkey = keypair; in PHP_FUNCTION() 1443 char *secretkey; in PHP_FUNCTION() local 1479 char *secretkey; in PHP_FUNCTION() local 1528 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/lang/php74/php-7.4.27/ext/sodium/ |
H A D | libsodium.c | 1116 char *secretkey; in PHP_FUNCTION() local 1151 zend_string *secretkey; in PHP_FUNCTION() local 1171 RETURN_STR(secretkey); in PHP_FUNCTION() 1203 unsigned char *secretkey; in PHP_FUNCTION() local 1259 secretkey = keypair; in PHP_FUNCTION() 1309 secretkey = keypair; in PHP_FUNCTION() 1384 secretkey = keypair; in PHP_FUNCTION() 1460 char *secretkey; in PHP_FUNCTION() local 1496 char *secretkey; in PHP_FUNCTION() local 1545 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/security/php73-sodium/php-7.3.33/ext/sodium/ |
H A D | libsodium.c | 1099 char *secretkey; in PHP_FUNCTION() local 1134 zend_string *secretkey; in PHP_FUNCTION() local 1154 RETURN_STR(secretkey); in PHP_FUNCTION() 1186 unsigned char *secretkey; in PHP_FUNCTION() local 1242 secretkey = keypair; in PHP_FUNCTION() 1292 secretkey = keypair; in PHP_FUNCTION() 1367 secretkey = keypair; in PHP_FUNCTION() 1443 char *secretkey; in PHP_FUNCTION() local 1479 char *secretkey; in PHP_FUNCTION() local 1528 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/security/php74-sodium/php-7.4.27/ext/sodium/ |
H A D | libsodium.c | 1116 char *secretkey; in PHP_FUNCTION() local 1151 zend_string *secretkey; in PHP_FUNCTION() local 1171 RETURN_STR(secretkey); in PHP_FUNCTION() 1203 unsigned char *secretkey; in PHP_FUNCTION() local 1259 secretkey = keypair; in PHP_FUNCTION() 1309 secretkey = keypair; in PHP_FUNCTION() 1384 secretkey = keypair; in PHP_FUNCTION() 1460 char *secretkey; in PHP_FUNCTION() local 1496 char *secretkey; in PHP_FUNCTION() local 1545 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/www/mod_php73/php-7.3.33/ext/sodium/ |
H A D | libsodium.c | 1099 char *secretkey; in PHP_FUNCTION() local 1134 zend_string *secretkey; in PHP_FUNCTION() local 1154 RETURN_STR(secretkey); in PHP_FUNCTION() 1186 unsigned char *secretkey; in PHP_FUNCTION() local 1242 secretkey = keypair; in PHP_FUNCTION() 1292 secretkey = keypair; in PHP_FUNCTION() 1367 secretkey = keypair; in PHP_FUNCTION() 1443 char *secretkey; in PHP_FUNCTION() local 1479 char *secretkey; in PHP_FUNCTION() local 1528 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/www/mod_php74/php-7.4.27/ext/sodium/ |
H A D | libsodium.c | 1116 char *secretkey; in PHP_FUNCTION() local 1151 zend_string *secretkey; in PHP_FUNCTION() local 1171 RETURN_STR(secretkey); in PHP_FUNCTION() 1203 unsigned char *secretkey; in PHP_FUNCTION() local 1259 secretkey = keypair; in PHP_FUNCTION() 1309 secretkey = keypair; in PHP_FUNCTION() 1384 secretkey = keypair; in PHP_FUNCTION() 1460 char *secretkey; in PHP_FUNCTION() local 1496 char *secretkey; in PHP_FUNCTION() local 1545 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/www/squid/squid-4.15/src/auth/basic/RADIUS/ |
H A D | basic_radius_auth.cc | 109 static char secretkey[MAXPASS + 1] = ""; variable 189 secretlen = strlen(secretkey); in result_recv() 190 memcpy(buffer + length, secretkey, secretlen); in result_recv() 238 crt = sscanf(line, "secret %s", secretkey); in rad_auth_config() 344 secretlen = strlen(secretkey); in authenticate() 349 strcpy((char *) md5buf, secretkey); in authenticate() 499 strncpy(secretkey, optarg, sizeof(secretkey)-1); in main() 500 secretkey[sizeof(secretkey)-1] = '\0'; in main() 525 if (!*secretkey) { in main()
|
/dports/www/mod_php81/php-8.1.1/ext/sodium/ |
H A D | libsodium.c | 841 char *secretkey; in PHP_FUNCTION() local 872 zend_string *secretkey; in PHP_FUNCTION() local 890 RETURN_STR(secretkey); in PHP_FUNCTION() 920 unsigned char *secretkey; in PHP_FUNCTION() local 970 secretkey = keypair; in PHP_FUNCTION() 1016 secretkey = keypair; in PHP_FUNCTION() 1087 secretkey = keypair; in PHP_FUNCTION() 1161 char *secretkey; in PHP_FUNCTION() local 1193 char *secretkey; in PHP_FUNCTION() local 1238 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/lang/php81/php-8.1.1/ext/sodium/ |
H A D | libsodium.c | 841 char *secretkey; in PHP_FUNCTION() local 872 zend_string *secretkey; in PHP_FUNCTION() local 890 RETURN_STR(secretkey); in PHP_FUNCTION() 920 unsigned char *secretkey; in PHP_FUNCTION() local 970 secretkey = keypair; in PHP_FUNCTION() 1016 secretkey = keypair; in PHP_FUNCTION() 1087 secretkey = keypair; in PHP_FUNCTION() 1161 char *secretkey; in PHP_FUNCTION() local 1193 char *secretkey; in PHP_FUNCTION() local 1238 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/security/php81-sodium/php-8.1.1/ext/sodium/ |
H A D | libsodium.c | 841 char *secretkey; in PHP_FUNCTION() local 872 zend_string *secretkey; in PHP_FUNCTION() local 890 RETURN_STR(secretkey); in PHP_FUNCTION() 920 unsigned char *secretkey; in PHP_FUNCTION() local 970 secretkey = keypair; in PHP_FUNCTION() 1016 secretkey = keypair; in PHP_FUNCTION() 1087 secretkey = keypair; in PHP_FUNCTION() 1161 char *secretkey; in PHP_FUNCTION() local 1193 char *secretkey; in PHP_FUNCTION() local 1238 RETURN_STR(secretkey); in PHP_FUNCTION() [all …]
|
/dports/security/kgpg/kgpg-21.12.3/ |
H A D | kgpginterface.cpp | 322 KgpgCore::KgpgKey *secretkey = nullptr; in readSecretKeysProcess() local 341 secretkey = &result.last(); in readSecretKeysProcess() 343 secretkey->setSecret(true); in readSecretKeysProcess() 345 secretkey->setExpiration(Convert::toDateTime(lsp.at(6))); in readSecretKeysProcess() 369 secretkey->setEmail(kmail); in readSecretKeysProcess() 371 secretkey->setEmail(QString()); in readSecretKeysProcess() 380 secretkey->setComment(comment); in readSecretKeysProcess() 382 secretkey->setComment(QString()); in readSecretKeysProcess() 384 secretkey->setName(kname); in readSecretKeysProcess() 386 secretkey->setFingerprint(lsp.at(9)); in readSecretKeysProcess()
|