version = $version; $this->symmetric_algorithm = $symmetric_algorithm; $this->s2k = $s2k; $this->encrypted_data = $encrypted_data; } function body() { return chr($this->version) . chr($this->symmetric_algorithm) . $this->s2k->to_bytes() . $this->encrypted_data; } function read() { $this->version = ord($this->read_byte()); $this->symmetric_algorithm = ord($this->read_byte()); $this->s2k = S2k::parse($this->input); $this->encrypted_data = $this->input; } }