<?php
/**
 * Plugin Name: SecuPress Salt Keys
 * Plugin URI: https://secupress.me
 * Description: Good Security Keys for your sites
 * Version: 1.0.2
 * Generation ID: 1624201159.52
 * License: GPLv2
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Copyright 2012-2020 SecuPress
 */

defined( 'ABSPATH' ) or die( 'Cheatin\' uh?' );

define( 'SECUPRESS_SALT_KEYS_ACTIVE', true );

$hash_1     = 'R^YDRRrBOKxbQ8olKads!B^(YbfOqRCeBKL$e3xxk26%pB2oQ(YE$CKCmF#1Qhhr';
$hash_2     = 'o3U!gGVqXe#SC4FRLfKh4KUZuM2Bs&^5bHx^VLNPD8axjLpaHu0hOAle&s!vs4Um';
$file_str   = __FILE__ . date( 'Ym' ); // Remove the `m` to prevent keys from changing every month, remove the date() fct to prevent any change.
$hash_1    .= $hash_2;
$file_str  .= $hash_2;
$main_keys  = array( 'AUTH_KEY', 'SECURE_AUTH_KEY', 'LOGGED_IN_KEY', 'NONCE_KEY', 'AUTH_SALT', 'SECURE_AUTH_SALT', 'LOGGED_IN_SALT', 'NONCE_SALT', );

foreach ( $main_keys as $main_key ) {
	if( ! defined( $main_key ) ) {
		define( $main_key, sha1( 'secupress' . $main_key . md5( $main_key . $file_str ) ) . md5( $main_key . $file_str ) );
	}
}

unset( $file_str, $main_key, $main_keys, $hash_1, $hash_2 );