private function validateSaltLength(string $salt)
    {
        if (\mb_strlen($salt, '8bit') !== self::KEY_SALT_BYTE_LENGTH) {
            throw new InvalidArgumentException('Salt must be ' . self::KEY_SALT_BYTE_LENGTH . ' bytes long');
        }
    }