Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 135... Línea 135...
135
     * @param string $cek A content encryption key for use by the stream for
135
     * @param string $cek A content encryption key for use by the stream for
136
     *                    encrypting the plaintext data.
136
     *                    encrypting the plaintext data.
137
     * @param array $cipherOptions Options for use in determining the cipher to
137
     * @param array $cipherOptions Options for use in determining the cipher to
138
     *                             be used for encrypting data.
138
     *                             be used for encrypting data.
139
     *
139
     *
140
     * @return [AesStreamInterface, string]
140
     * @return array returns an array with two elements as follows: [string, AesStreamInterface]
141
     *
141
     *
142
     * @internal
142
     * @internal
143
     */
143
     */
144
    protected function getEncryptingStream(
144
    protected function getEncryptingStream(
145
        Stream $plaintext,
145
        Stream $plaintext,