CoreFiles by mySites.guru
generate-defuse-key14 lines, 298 bytes, from Joomla_4.2.7-Stable-Full_Package.zip
Raw History Compare with 4.2.6
md5
b12365425296a5b46ffded118d3609fe
sha1
e2c17c89b8ee1f7cb9504bc71aa2b74c6274232a
sha256
e50c72169dc2dc92008c16c414928c7e3160d7bd11d0ec081f6ece163d97742a
#!/usr/bin/env php
<?php

use Defuse\Crypto\Key;

foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
    if (file_exists($file)) {
        require $file;
        break;
    }
}

$key = Key::createNewRandomKey();
echo $key->saveToAsciiSafeString(), "\n";

The same content is in 299 releases, Joomla 4.0.0-alpha2 to 6.3.0-alpha1. See them all, or every version of this file.