Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 150... Línea 150...
150
     * @param string $cek A content encryption key for use by the stream for
150
     * @param string $cek A content encryption key for use by the stream for
151
     *                    encrypting the plaintext data.
151
     *                    encrypting the plaintext data.
152
     * @param array $cipherOptions Options for use in determining the cipher to
152
     * @param array $cipherOptions Options for use in determining the cipher to
153
     *                             be used for encrypting data.
153
     *                             be used for encrypting data.
154
     *
154
     *
155
     * @return [AesStreamInterface, string]
155
     * @return array returns an array with two elements as follows: [string, AesStreamInterface]
156
     *
156
     *
157
     * @internal
157
     * @internal
158
     */
158
     */
159
    protected function getEncryptingStream(
159
    protected function getEncryptingStream(
160
        Stream $plaintext,
160
        Stream $plaintext,