Neos\Flow\Security\Cryptography\FileBasedSimpleKeyService::storeKey PHP Method

storeKey() public method

Saves a key encrypted with a hashing strategy
public storeKey ( string $name, string $password ) : void
$name string
$password string
return void
    public function storeKey($name, $password)
    {
        if (strlen($name) === 0) {
            throw new SecurityException('Required name argument was empty', 1334215443);
        }
        if (strlen($password) === 0) {
            throw new SecurityException('Required password argument was empty', 1334215349);
        }
        $this->persistKey($name, $password);
    }