private function getOpenSslEncryptionOptions()
    {
        $options = self::DEFAULT_OPENSSL_OPTIONS;

        if ($this->zero_pad) {
            $options = $options | OPENSSL_ZERO_PADDING;
        }

        return $options;
    }