Method | Description | |
---|---|---|
Decrypt ( byte content, |
Encrypt a byte array by using the AES algorightm. The input is: [Magic Number (4 bytes)] [AES IV (16 bytes)] [AES(data) (xx bytes)] [HMAC(IV || AES(data)) (32 bytes)] The output is: [data]
|
|
Decrypt ( String inputFile, String outputFile, |
||
DeriveKey ( String seed ) : byte[] |
Derives a private key from the given seed.
|
|
DeriveKey ( byte content ) : byte[] |
Derives a private key from the given content.
|
|
Encrypt ( IEnumerable |
Encrypt the specified files into the directory with the given provider.
|
|
Encrypt ( IEnumerable |
Encrypt the specified files into the directory with the given encryptionSeed.
|
|
Encrypt ( byte content, |
Encrypt a byte array by using the AES algorightm. The input is: [data] The output is: [Magic Number (4 bytes)] [AES IV (16 bytes)] [AES(data) (xx bytes)] [HMAC(IV || AES(data)) (32 bytes)]
|
|
Encrypt ( String inputFile, String outputFile, |
||
FileEncrypter ( ) : System |
Initializes a new instance of the ArtworkEncrypter class.
|
|
GetProvider ( String encryptionSeed ) : |
Returns an AES provider, that use a derivative of the encryption seed as key.
|
|
IsEncrypted ( String file ) : bool |
Determines if the given file contains an encrypted content.
|
|
IsEncrypted ( byte content ) : bool |
Determines if the given content contains an encrypted content.
|
public static Decrypt ( byte content, |
||
content | byte | |
aes | ||
return | byte[] |
public Decrypt ( String inputFile, String outputFile, |
||
inputFile | String | |
outputFile | String | |
aes | ||
return | void |
public static DeriveKey ( String seed ) : byte[] | ||
seed | String | |
return | byte[] |
public static DeriveKey ( byte content ) : byte[] | ||
content | byte | |
return | byte[] |
public Encrypt ( IEnumerable |
||
files | IEnumerable |
|
directory | String | |
provider | ||
return | bool |
public Encrypt ( IEnumerable |
||
files | IEnumerable |
|
directory | String | |
encryptionSeed | String | |
return | bool |
public static Encrypt ( byte content, |
||
content | byte | |
aes | ||
return | byte[] |
public Encrypt ( String inputFile, String outputFile, |
||
inputFile | String | |
outputFile | String | |
aes | ||
return | void |
public static GetProvider ( String encryptionSeed ) : |
||
encryptionSeed | String | |
return |
public static IsEncrypted ( String file ) : bool | ||
file | String | |
return | bool |
public static IsEncrypted ( byte content ) : bool | ||
content | byte | |
return | bool |