src/Support/Archive.php
/**
	 * Marks the archive as encrypted. Note that this does not automatically encrypt the data -- that is your
	 * responsibility.
	 */
Marks the archive as encrypted. Note that this does not automatically encrypt the data -- that is your
responsibility.
Marks the archive as encrypted . Note that this does not automatically encrypt the data -- that is your responsibility .
public function markEncrypted() {
		foreach ($this->files as $file) {
			if (empty($file['dir']) && $file['name'] == 'HZENCRYPTED') {
				return;
			}
		}
		$cipher = FastEncrypt::encrypt(Framework::path() . ';' . time() . ';' . Framework::version());
		$this->createFile($cipher, 'HZENCRYPTED');
		$this->localEncryption = $cipher;
	}
public function markEncrypted ( ) { foreach ( $ this -> files as $ file ) { if ( empty ( $ file [ 'dir' ] ) && $ file [ 'name' ] == 'HZENCRYPTED' ) { return ; } } $ cipher = FastEncrypt :: encrypt ( Framework :: path ( ) . ';' . time ( ) . ';' . Framework :: version ( ) ) ; $ this -> createFile ( $ cipher , 'HZENCRYPTED' ) ; $ this -> localEncryption = $ cipher ; }
Marks the archive as encrypted.
Marks the archive as encrypted .