What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-17 10:28:03
sslciphersuite apache 2.4 recommended
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM # Requires Apache 2.4.36 & OpenSSL 1.1.1 SSLProtocol -all +TLSv1.3 +TLSv1.2 SSLOpenSSLConfCmd Curves X25519:secp521r1:secp384r1:prime256v1 # Older versions # SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 SSLHonor... Add solution -
PHP 2021-09-15 19:40:02
read info pfx file php
<?php //Caminho do Certificado $pfxCertPrivado = 'certificado.pfx'; $cert_password = 'senha'; if (!file_exists($pfxCertPrivado)) { echo "Certificado não encontrado!! " . $pfxCertPrivado; } $pfxContent = file_get_contents($pfxCert... Add solution -
Python 2021-09-15 07:12:04
fakher ul islam khan
function CryptoJSAesEncrypt($passphrase, $plain_text){ $salt = openssl_random_pseudo_bytes(256); $iv = openssl_random_pseudo_bytes(16); //on PHP7 can use random_bytes() istead openssl_random_pseudo_bytes() //or PHP5x see : https://github.... Add solution -
C# 2021-09-10 15:04:03
php encrypt message encrypt() decrypt
function encrypt_decrypt($string, $action = 'encrypt') { $encrypt_method = "AES-256-CBC"; $secret_key = 'AA74CDCC2BBRT935136HH7B63C27'; // user define private key $secret_iv = '5fgf5HJ5g27'; // user define secret key $key = hash(... Add solution