for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* This file is part of Scout Extended.
*
* (c) Algolia Team <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Algolia\ScoutExtended\Settings;
* @internal
final class Encrypter
{
* @param \Algolia\ScoutExtended\Settings\Settings $settings
* @return string
public function encrypt(Settings $settings): string
return md5(serialize($settings->compiled()));
}