Class SevenZipAESEncryptionSettings

Class SevenZipAESEncryptionSettings

이름 공간 : Aspose.Zip.Saving 모임: Aspose.Zip.dll (25.5.0)

여러 7z 암호화 방법에 대한 설정을위한 기본 클래스.

public class SevenZipAESEncryptionSettings : SevenZipEncryptionSettings

Inheritance

object SevenZipEncryptionSettings SevenZipAESEncryptionSettings

상속 회원들

SevenZipEncryptionSettings.Password , SevenZipEncryptionSettings.EncryptHeader , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Remarks

AES-256은 7z 아카이브에 대한 유일한 가능한 암호화 방법입니다. 그래서 Aspose.Zip.Saving.SevenZipAESEncryptionSettings는 유일한 구현입니다.

Constructors

7장 암호화 설정(스트리트)

Aspose.Zip.Saving.SevenZipAESEncryptionSettings 클래스의 새로운 예를 시작합니다.

public SevenZipAESEncryptionSettings(string password)

Parameters

password string

암호화 또는 해독을 위한 암호화.

Examples

using (var archive = new SevenZipArchive(new SevenZipEntrySettings(null, new SevenZipAESEncryptionSettings("p@s$"))))
{
   archive.CreateEntry("data.bin", "data.bin");
   archive.Save("archive.7z");
}

7장 암호화 설정(SevenZipCipher)

Aspose.Zip.Saving.SevenZipAESEncryptionSettings 클래스의 새로운 사례를 외부 칩으로 시작합니다.

public SevenZipAESEncryptionSettings(SevenZipCipher cipher)

Parameters

cipher SevenZipCipher

사용자 정의 AES 구현

Examples

SevenZipCipher cipher = ComposeMyCipher();
using (var archive = new SevenZipArchive(new SevenZipEntrySettings(null, new SevenZipAESEncryptionSettings(cipher))))
{
   archive.CreateEntry("data.bin", "data.bin");
   archive.Save("archive.7z");
}
 한국어