메소드 | 설명 | |
---|---|---|
CryptoMonkey ( |
||
Decrypt ( byte data ) : byte[] | ||
DecryptFile ( string encryptedFilePath, string plainOutputPath ) : void | ||
DecryptStream ( Stream encrypted, Stream plain, bool disposeWhenDone ) : void | ||
DecryptString ( string base64String ) : string | ||
Encrypt ( byte data ) : byte[] | ||
EncryptFile ( string plainFilePath, string encryptedOutputPath ) : void | ||
EncryptStream ( Stream plain, Stream encrypted, bool disposeWhenDone ) : void | ||
EncryptString ( string value ) : string | ||
GenerateRandomIv ( AllowedBlockSizes blockSize ) : |
||
GenerateRandomKey ( AllowedKeySizes keySize ) : |
메소드 | 설명 | |
---|---|---|
DecryptFromBytes ( byte encryptedData ) : byte[] | ||
EncryptToBytes ( byte data ) : byte[] | ||
GetAlgorithmObject ( ) : |
||
GetDecryptionStrean ( Stream data ) : |
||
GetEncryptingStream ( Stream data ) : |
public CryptoMonkey ( |
||
key | ||
iv | ||
paddingMode | PaddingMode | |
cipherMode | CipherMode | |
리턴 | System |
public DecryptFile ( string encryptedFilePath, string plainOutputPath ) : void | ||
encryptedFilePath | string | |
plainOutputPath | string | |
리턴 | void |
public DecryptStream ( Stream encrypted, Stream plain, bool disposeWhenDone ) : void | ||
encrypted | Stream | |
plain | Stream | |
disposeWhenDone | bool | |
리턴 | void |
public DecryptString ( string base64String ) : string | ||
base64String | string | |
리턴 | string |
public EncryptFile ( string plainFilePath, string encryptedOutputPath ) : void | ||
plainFilePath | string | |
encryptedOutputPath | string | |
리턴 | void |
public EncryptStream ( Stream plain, Stream encrypted, bool disposeWhenDone ) : void | ||
plain | Stream | |
encrypted | Stream | |
disposeWhenDone | bool | |
리턴 | void |
public static GenerateRandomIv ( AllowedBlockSizes blockSize ) : |
||
blockSize | AllowedBlockSizes | |
리턴 |
public static GenerateRandomKey ( AllowedKeySizes keySize ) : |
||
keySize | AllowedKeySizes | |
리턴 |