IGLib
1.6.0
The IGLib base library for development of numerical, technical and business applications.
|
This is the complete list of members for IG.Crypto.UtilCrypto, including all inherited members.
_asymmetricTypes | IG.Crypto.UtilCrypto | privatestatic |
_hashTypes | IG.Crypto.UtilCrypto | privatestatic |
_igLibLongSaltSuffices | IG.Crypto.UtilCrypto | privatestatic |
_lockStatic | IG.Crypto.UtilCrypto | privatestatic |
_outputLevel | IG.Crypto.UtilCrypto | privatestatic |
_passwordAlgorithmNone | IG.Crypto.UtilCrypto | privatestatic |
_passwordAlgorithmTypes | IG.Crypto.UtilCrypto | privatestatic |
_rng | IG.Crypto.UtilCrypto | privatestatic |
_symmetricTypes | IG.Crypto.UtilCrypto | privatestatic |
AsymmetricAlgorithmTypeToString(AsymmetricAlgorithmType algorithmType) | IG.Crypto.UtilCrypto | inlinestatic |
CheckFileHashHex(string filePath, string hashValue, HashType hashType, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
CheckFileHashMd5Hex(string filePath, string hashValue) | IG.Crypto.UtilCrypto | inlinestatic |
CheckFileHashSha1Hex(string filePath, string hashValue) | IG.Crypto.UtilCrypto | inlinestatic |
CheckFileHashSha256Hex(string filePath, string hashValue) | IG.Crypto.UtilCrypto | inlinestatic |
CheckFileHashSha512Hex(string filePath, string hashValue) | IG.Crypto.UtilCrypto | inlinestatic |
CheckFileHashSupportedTypesHex(string filePath, string hashValue) | IG.Crypto.UtilCrypto | inlinestatic |
CheckHashHex(byte[] bytesToCheck, string hashValue, HashType hashAlgorithmType) | IG.Crypto.UtilCrypto | inlinestatic |
CheckHashSupportedTypesHex(byte[] bytesToCheck, string hashValue) | IG.Crypto.UtilCrypto | inlinestatic |
CheckStringHashHex(string stringToCheck, string hashValue, HashType hashAlgorithmType) | IG.Crypto.UtilCrypto | inlinestatic |
CheckStringHashMd5Hex(string stringToCheck, string hashValue) | IG.Crypto.UtilCrypto | inlinestatic |
CheckStringHashSha1Hex(string stringToCheck, string hashValue) | IG.Crypto.UtilCrypto | inlinestatic |
CheckStringHashSha256Hex(string stringToCheck, string hashValue) | IG.Crypto.UtilCrypto | inlinestatic |
CheckStringHashSha512Hex(string stringToCheck, string hashValue) | IG.Crypto.UtilCrypto | inlinestatic |
CheckStringHashSupportedTypesHex(string stringToCheck, string hashValue) | IG.Crypto.UtilCrypto | inlinestatic |
CreateRandomPassword(int PasswordLength, string allowedChars=null) | IG.Crypto.UtilCrypto | inlinestatic |
DecryptBasic(byte[] data, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
DecryptFileBasic(string inputFilePath, string outputFilePath, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, int bufferSize=ConstCrypto.FileBufferSize, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
DecryptFilePlain(string inputFilePath, string outputFilePath, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, int bufferSize=ConstCrypto.FileBufferSize, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
DecryptPlain(byte[] data, Stream outputStream, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
DecryptPlain(byte[] data, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
DecryptPlain(Stream inputStream, Stream outputStream, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, int bufferSize=ConstCrypto.FileBufferSize, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
DecryptStringBasic(string cipherText, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
DecryptStringFromBytesPlain(byte[] cipherText, byte[] key, byte[] initializationVector, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
DecryptStringPlain(string cipherText, byte[] key, byte[] initializationVector, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
EncryptBasic(byte[] data, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
EncryptFileBasic(string inputFilePath, string outputFilePath, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, int bufferSize=ConstCrypto.FileBufferSize, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
EncryptFilePlain(string inputFilePath, string outputFilePath, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, int bufferSize=ConstCrypto.FileBufferSize, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
EncryptPlain(byte[] data, Stream outputStream, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
EncryptPlain(byte[] data, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
EncryptPlain(Stream inputStream, Stream outputStream, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, int bufferSize=ConstCrypto.FileBufferSize, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
EncryptStringBasic(string stringToEncrypt, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
EncryptStringPlain(string stringToEncrypt, byte[] key, byte[] initializationVector, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
EncryptStringToBytesPlain(string stringToEncrypt, byte[] key, byte[] initializationVector, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
GetAsymmetricAlgorithmType(string typeString) | IG.Crypto.UtilCrypto | inlinestatic |
GetAsymmetricAlgorithmType(AsymmetricAlgorithm algorithmObject) | IG.Crypto.UtilCrypto | inlinestatic |
GetAsymmetricAlgorithmTypes() | IG.Crypto.UtilCrypto | inlinestatic |
GetAsymmetricEncryptionAlgorithm(AsymmetricAlgorithmType algorithmType) | IG.Crypto.UtilCrypto | inlinestatic |
GetFileHashBytes(string filePath, HashType hashType, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetFileHashHex(string filePath, HashType hashType, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetFileHashMd5Hex(string filePath, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetFileHashSha1Hex(string filePath, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetFileHashSha256Hex(string filePath, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetFileHashSha512Hex(string filePath, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashAlgorithm(HashType hashType) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashBytes(byte[] bytesToHash, HashType hashType, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashBytes(Stream stream, HashType hashType, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashHex(byte[] bytesToHash, HashType hashType, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashHex(Stream stream, HashType hashType, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashLengthBytes(HashType hashType) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashLengthHex(HashType hashType) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashMd5Hex(byte[] bytesToHash) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashMd5Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashSha1Hex(byte[] bytesToHash) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashSha1Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashSha256Hex(byte[] bytesToHash) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashSha256Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashSha512Hex(byte[] bytesToHash) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashSha512Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashType(string typeString) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashType(HashAlgorithm algorithmObject) | IG.Crypto.UtilCrypto | inlinestatic |
GetHashTypes() | IG.Crypto.UtilCrypto | inlinestatic |
GetLargestAsymmetricAlgorithmKeySize(AsymmetricAlgorithm algorithm) | IG.Crypto.UtilCrypto | inlinestatic |
GetLargestSymmetricAlgorithmBlockSize(SymmetricAlgorithm algorithm) | IG.Crypto.UtilCrypto | inlinestatic |
GetLargestSymmetricAlgorithmKeySize(SymmetricAlgorithm algorithm) | IG.Crypto.UtilCrypto | inlinestatic |
GetPasswordAlgorithm(PasswordAlgorithmType algorithmType) | IG.Crypto.UtilCrypto | inlinestatic |
GetPasswordAlgorithmNoneSingleton() | IG.Crypto.UtilCrypto | inlineprivatestatic |
GetPasswordAlgorithmType(string typeString) | IG.Crypto.UtilCrypto | inlinestatic |
GetPasswordAlgorithmType(PasswordAlgorithmBase algorithmObject) | IG.Crypto.UtilCrypto | inlinestatic |
GetPasswordAlgorithmTypes() | IG.Crypto.UtilCrypto | inlinestatic |
GetRandomBytes(byte[] byteArray) | IG.Crypto.UtilCrypto | inlinestatic |
GetRandomBytes(ref byte[] byteArray, int numBytes) | IG.Crypto.UtilCrypto | inlinestatic |
GetRandomBytes(int numBytes) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringHashBytes(string stringToHash, HashType hashType=HashType.Default, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringHashHex(string stringToHash, HashType hashType=HashType.Default, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringHashMd5Hex(string stringToHash) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringHashSha1Hex(string stringToHash) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringHashSha256Hex(string stringToHash) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringHashSha512Hex(string stringToHash) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringSaltedHash(string stringToHash, HashType hashType, string salt, int numIterations=0, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringSaltedHashBytes(string stringToHash, HashType hashType, string salt, int numIterations=0, HashAlgorithm cryptoAlgorithm=null) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringSaltedHashMd5Hex(string stringToHash, string salt, int numIterations=0) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringSaltedHashSha1Hex(string stringToHash, string salt, int numIterations=0) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringSaltedHashSha256Hex(string stringToHash, string salt, int numIterations=0) | IG.Crypto.UtilCrypto | inlinestatic |
GetStringSaltedHashSha512Hex(string stringToHash, string salt, int numIterations=0) | IG.Crypto.UtilCrypto | inlinestatic |
GetSymmetricAlgorithmType(string typeString) | IG.Crypto.UtilCrypto | inlinestatic |
GetSymmetricAlgorithmType(SymmetricAlgorithm algorithmObject) | IG.Crypto.UtilCrypto | inlinestatic |
GetSymmetricAlgorithmTypes() | IG.Crypto.UtilCrypto | inlinestatic |
GetSymmetricEncryptionAlgorithm(SymmetricAlgorithmType algorithmType) | IG.Crypto.UtilCrypto | inlinestatic |
GetValidAsymmetricAlgorithmKey(byte[] key, AsymmetricAlgorithm algorithm, bool useLargestKey=false) | IG.Crypto.UtilCrypto | inlinestatic |
GetValidSymmetricAlgorithmIV(byte[] IV, SymmetricAlgorithm algorithm) | IG.Crypto.UtilCrypto | inlinestatic |
GetValidSymmetricAlgorithmKey(byte[] key, SymmetricAlgorithm algorithm) | IG.Crypto.UtilCrypto | inlinestatic |
HashTypeToString(HashType hashType) | IG.Crypto.UtilCrypto | inlinestatic |
IgGetNumSaltSuffices() | IG.Crypto.UtilCrypto | inlinestatic |
IgGetSaltSuffix(int whichSalt) | IG.Crypto.UtilCrypto | inlinestatic |
IsCorrectAsymmetricEncryptionAlgorithm(AsymmetricAlgorithm algorithm, AsymmetricAlgorithmType algorithmType) | IG.Crypto.UtilCrypto | inlinestatic |
IsCorrectHashAlgorithm(HashAlgorithm algorithm, HashType algorithmType) | IG.Crypto.UtilCrypto | inlinestatic |
IsCorrectPasswordAlgorithm(DeriveBytes algorithm, PasswordAlgorithmType algorithmType) | IG.Crypto.UtilCrypto | inlinestatic |
IsCorrectSymmetricEncryptionAlgorithm(SymmetricAlgorithm algorithm, SymmetricAlgorithmType algorithmType) | IG.Crypto.UtilCrypto | inlinestatic |
LockStatic | IG.Crypto.UtilCrypto | static |
OutputLevel | IG.Crypto.UtilCrypto | static |
PadToAlgorithmBlocksizeCyclic(byte[] byteArray, int blockSize, bool truncateIfLarger=false) | IG.Crypto.UtilCrypto | inlinestatic |
PadToAlgorithmBlocksizeZero(byte[] byteArray, int blockSize, bool truncateIfLarger=false) | IG.Crypto.UtilCrypto | inlinestatic |
PadToSymmetricAlgorithmBlocksizeCyclic(byte[] byteArray, SymmetricAlgorithm algorithm, bool truncateIfLarger=false) | IG.Crypto.UtilCrypto | inlinestatic |
PadToSymmetricAlgorithmBlocksizeZero(byte[] byteArray, SymmetricAlgorithm algorithm, bool truncateIfLarger=false) | IG.Crypto.UtilCrypto | inlinestatic |
ParseHashFile(string filePath, ref List< string[]> hashList) | IG.Crypto.UtilCrypto | inlinestatic |
ParseHashFileString(string str, ref List< string[]> hashList) | IG.Crypto.UtilCrypto | inlinestatic |
PasswordAlgorithmTypeToString(PasswordAlgorithmType passwordAlgorithmType) | IG.Crypto.UtilCrypto | inlinestatic |
PrepareSymmetricAllgorithmBasic(byte[] passwordBytes, byte[] passwordSalt, ref byte[] key, ref byte[] IV, SymmetricAlgorithmType algorithmType, ref SymmetricAlgorithm algorithm, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
PrepareSymmetricAllgorithmPlain(ref byte[] key, ref byte[] IV, SymmetricAlgorithmType algorithmType, ref SymmetricAlgorithm algorithm, bool useLargestKey=false, bool useLargestBlock=false) | IG.Crypto.UtilCrypto | inlinestatic |
Rng | IG.Crypto.UtilCrypto | privatestatic |
SetLargestAsymmetricAlgorithmKeySize(AsymmetricAlgorithm algorithm) | IG.Crypto.UtilCrypto | inlineprivatestatic |
SetLargestSymmetricAlgorithmBlockSize(SymmetricAlgorithm algorithm) | IG.Crypto.UtilCrypto | inlineprivatestatic |
SetLargestSymmetricAlgorithmKeySize(SymmetricAlgorithm algorithm) | IG.Crypto.UtilCrypto | inlineprivatestatic |
StringEncoding | IG.Crypto.UtilCrypto | static |
SymmetricAlgorithmTypeToString(SymmetricAlgorithmType algorithmType) | IG.Crypto.UtilCrypto | inlinestatic |