IGLib  1.6.0
The IGLib base library for development of numerical, technical and business applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
IG.Crypto.UtilCrypto Member List

This is the complete list of members for IG.Crypto.UtilCrypto, including all inherited members.

_asymmetricTypesIG.Crypto.UtilCryptoprivatestatic
_hashTypesIG.Crypto.UtilCryptoprivatestatic
_igLibLongSaltSufficesIG.Crypto.UtilCryptoprivatestatic
_lockStaticIG.Crypto.UtilCryptoprivatestatic
_outputLevelIG.Crypto.UtilCryptoprivatestatic
_passwordAlgorithmNoneIG.Crypto.UtilCryptoprivatestatic
_passwordAlgorithmTypesIG.Crypto.UtilCryptoprivatestatic
_rngIG.Crypto.UtilCryptoprivatestatic
_symmetricTypesIG.Crypto.UtilCryptoprivatestatic
AsymmetricAlgorithmTypeToString(AsymmetricAlgorithmType algorithmType)IG.Crypto.UtilCryptoinlinestatic
CheckFileHashHex(string filePath, string hashValue, HashType hashType, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
CheckFileHashMd5Hex(string filePath, string hashValue)IG.Crypto.UtilCryptoinlinestatic
CheckFileHashSha1Hex(string filePath, string hashValue)IG.Crypto.UtilCryptoinlinestatic
CheckFileHashSha256Hex(string filePath, string hashValue)IG.Crypto.UtilCryptoinlinestatic
CheckFileHashSha512Hex(string filePath, string hashValue)IG.Crypto.UtilCryptoinlinestatic
CheckFileHashSupportedTypesHex(string filePath, string hashValue)IG.Crypto.UtilCryptoinlinestatic
CheckHashHex(byte[] bytesToCheck, string hashValue, HashType hashAlgorithmType)IG.Crypto.UtilCryptoinlinestatic
CheckHashSupportedTypesHex(byte[] bytesToCheck, string hashValue)IG.Crypto.UtilCryptoinlinestatic
CheckStringHashHex(string stringToCheck, string hashValue, HashType hashAlgorithmType)IG.Crypto.UtilCryptoinlinestatic
CheckStringHashMd5Hex(string stringToCheck, string hashValue)IG.Crypto.UtilCryptoinlinestatic
CheckStringHashSha1Hex(string stringToCheck, string hashValue)IG.Crypto.UtilCryptoinlinestatic
CheckStringHashSha256Hex(string stringToCheck, string hashValue)IG.Crypto.UtilCryptoinlinestatic
CheckStringHashSha512Hex(string stringToCheck, string hashValue)IG.Crypto.UtilCryptoinlinestatic
CheckStringHashSupportedTypesHex(string stringToCheck, string hashValue)IG.Crypto.UtilCryptoinlinestatic
CreateRandomPassword(int PasswordLength, string allowedChars=null)IG.Crypto.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
GetAsymmetricAlgorithmType(string typeString)IG.Crypto.UtilCryptoinlinestatic
GetAsymmetricAlgorithmType(AsymmetricAlgorithm algorithmObject)IG.Crypto.UtilCryptoinlinestatic
GetAsymmetricAlgorithmTypes()IG.Crypto.UtilCryptoinlinestatic
GetAsymmetricEncryptionAlgorithm(AsymmetricAlgorithmType algorithmType)IG.Crypto.UtilCryptoinlinestatic
GetFileHashBytes(string filePath, HashType hashType, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetFileHashHex(string filePath, HashType hashType, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetFileHashMd5Hex(string filePath, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetFileHashSha1Hex(string filePath, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetFileHashSha256Hex(string filePath, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetFileHashSha512Hex(string filePath, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetHashAlgorithm(HashType hashType)IG.Crypto.UtilCryptoinlinestatic
GetHashBytes(byte[] bytesToHash, HashType hashType, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetHashBytes(Stream stream, HashType hashType, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetHashHex(byte[] bytesToHash, HashType hashType, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetHashHex(Stream stream, HashType hashType, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetHashLengthBytes(HashType hashType)IG.Crypto.UtilCryptoinlinestatic
GetHashLengthHex(HashType hashType)IG.Crypto.UtilCryptoinlinestatic
GetHashMd5Hex(byte[] bytesToHash)IG.Crypto.UtilCryptoinlinestatic
GetHashMd5Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetHashSha1Hex(byte[] bytesToHash)IG.Crypto.UtilCryptoinlinestatic
GetHashSha1Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetHashSha256Hex(byte[] bytesToHash)IG.Crypto.UtilCryptoinlinestatic
GetHashSha256Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetHashSha512Hex(byte[] bytesToHash)IG.Crypto.UtilCryptoinlinestatic
GetHashSha512Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetHashType(string typeString)IG.Crypto.UtilCryptoinlinestatic
GetHashType(HashAlgorithm algorithmObject)IG.Crypto.UtilCryptoinlinestatic
GetHashTypes()IG.Crypto.UtilCryptoinlinestatic
GetLargestAsymmetricAlgorithmKeySize(AsymmetricAlgorithm algorithm)IG.Crypto.UtilCryptoinlinestatic
GetLargestSymmetricAlgorithmBlockSize(SymmetricAlgorithm algorithm)IG.Crypto.UtilCryptoinlinestatic
GetLargestSymmetricAlgorithmKeySize(SymmetricAlgorithm algorithm)IG.Crypto.UtilCryptoinlinestatic
GetPasswordAlgorithm(PasswordAlgorithmType algorithmType)IG.Crypto.UtilCryptoinlinestatic
GetPasswordAlgorithmNoneSingleton()IG.Crypto.UtilCryptoinlineprivatestatic
GetPasswordAlgorithmType(string typeString)IG.Crypto.UtilCryptoinlinestatic
GetPasswordAlgorithmType(PasswordAlgorithmBase algorithmObject)IG.Crypto.UtilCryptoinlinestatic
GetPasswordAlgorithmTypes()IG.Crypto.UtilCryptoinlinestatic
GetRandomBytes(byte[] byteArray)IG.Crypto.UtilCryptoinlinestatic
GetRandomBytes(ref byte[] byteArray, int numBytes)IG.Crypto.UtilCryptoinlinestatic
GetRandomBytes(int numBytes)IG.Crypto.UtilCryptoinlinestatic
GetStringHashBytes(string stringToHash, HashType hashType=HashType.Default, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetStringHashHex(string stringToHash, HashType hashType=HashType.Default, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetStringHashMd5Hex(string stringToHash)IG.Crypto.UtilCryptoinlinestatic
GetStringHashSha1Hex(string stringToHash)IG.Crypto.UtilCryptoinlinestatic
GetStringHashSha256Hex(string stringToHash)IG.Crypto.UtilCryptoinlinestatic
GetStringHashSha512Hex(string stringToHash)IG.Crypto.UtilCryptoinlinestatic
GetStringSaltedHash(string stringToHash, HashType hashType, string salt, int numIterations=0, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetStringSaltedHashBytes(string stringToHash, HashType hashType, string salt, int numIterations=0, HashAlgorithm cryptoAlgorithm=null)IG.Crypto.UtilCryptoinlinestatic
GetStringSaltedHashMd5Hex(string stringToHash, string salt, int numIterations=0)IG.Crypto.UtilCryptoinlinestatic
GetStringSaltedHashSha1Hex(string stringToHash, string salt, int numIterations=0)IG.Crypto.UtilCryptoinlinestatic
GetStringSaltedHashSha256Hex(string stringToHash, string salt, int numIterations=0)IG.Crypto.UtilCryptoinlinestatic
GetStringSaltedHashSha512Hex(string stringToHash, string salt, int numIterations=0)IG.Crypto.UtilCryptoinlinestatic
GetSymmetricAlgorithmType(string typeString)IG.Crypto.UtilCryptoinlinestatic
GetSymmetricAlgorithmType(SymmetricAlgorithm algorithmObject)IG.Crypto.UtilCryptoinlinestatic
GetSymmetricAlgorithmTypes()IG.Crypto.UtilCryptoinlinestatic
GetSymmetricEncryptionAlgorithm(SymmetricAlgorithmType algorithmType)IG.Crypto.UtilCryptoinlinestatic
GetValidAsymmetricAlgorithmKey(byte[] key, AsymmetricAlgorithm algorithm, bool useLargestKey=false)IG.Crypto.UtilCryptoinlinestatic
GetValidSymmetricAlgorithmIV(byte[] IV, SymmetricAlgorithm algorithm)IG.Crypto.UtilCryptoinlinestatic
GetValidSymmetricAlgorithmKey(byte[] key, SymmetricAlgorithm algorithm)IG.Crypto.UtilCryptoinlinestatic
HashTypeToString(HashType hashType)IG.Crypto.UtilCryptoinlinestatic
IgGetNumSaltSuffices()IG.Crypto.UtilCryptoinlinestatic
IgGetSaltSuffix(int whichSalt)IG.Crypto.UtilCryptoinlinestatic
IsCorrectAsymmetricEncryptionAlgorithm(AsymmetricAlgorithm algorithm, AsymmetricAlgorithmType algorithmType)IG.Crypto.UtilCryptoinlinestatic
IsCorrectHashAlgorithm(HashAlgorithm algorithm, HashType algorithmType)IG.Crypto.UtilCryptoinlinestatic
IsCorrectPasswordAlgorithm(DeriveBytes algorithm, PasswordAlgorithmType algorithmType)IG.Crypto.UtilCryptoinlinestatic
IsCorrectSymmetricEncryptionAlgorithm(SymmetricAlgorithm algorithm, SymmetricAlgorithmType algorithmType)IG.Crypto.UtilCryptoinlinestatic
LockStaticIG.Crypto.UtilCryptostatic
OutputLevelIG.Crypto.UtilCryptostatic
PadToAlgorithmBlocksizeCyclic(byte[] byteArray, int blockSize, bool truncateIfLarger=false)IG.Crypto.UtilCryptoinlinestatic
PadToAlgorithmBlocksizeZero(byte[] byteArray, int blockSize, bool truncateIfLarger=false)IG.Crypto.UtilCryptoinlinestatic
PadToSymmetricAlgorithmBlocksizeCyclic(byte[] byteArray, SymmetricAlgorithm algorithm, bool truncateIfLarger=false)IG.Crypto.UtilCryptoinlinestatic
PadToSymmetricAlgorithmBlocksizeZero(byte[] byteArray, SymmetricAlgorithm algorithm, bool truncateIfLarger=false)IG.Crypto.UtilCryptoinlinestatic
ParseHashFile(string filePath, ref List< string[]> hashList)IG.Crypto.UtilCryptoinlinestatic
ParseHashFileString(string str, ref List< string[]> hashList)IG.Crypto.UtilCryptoinlinestatic
PasswordAlgorithmTypeToString(PasswordAlgorithmType passwordAlgorithmType)IG.Crypto.UtilCryptoinlinestatic
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.UtilCryptoinlinestatic
PrepareSymmetricAllgorithmPlain(ref byte[] key, ref byte[] IV, SymmetricAlgorithmType algorithmType, ref SymmetricAlgorithm algorithm, bool useLargestKey=false, bool useLargestBlock=false)IG.Crypto.UtilCryptoinlinestatic
RngIG.Crypto.UtilCryptoprivatestatic
SetLargestAsymmetricAlgorithmKeySize(AsymmetricAlgorithm algorithm)IG.Crypto.UtilCryptoinlineprivatestatic
SetLargestSymmetricAlgorithmBlockSize(SymmetricAlgorithm algorithm)IG.Crypto.UtilCryptoinlineprivatestatic
SetLargestSymmetricAlgorithmKeySize(SymmetricAlgorithm algorithm)IG.Crypto.UtilCryptoinlineprivatestatic
StringEncodingIG.Crypto.UtilCryptostatic
SymmetricAlgorithmTypeToString(SymmetricAlgorithmType algorithmType)IG.Crypto.UtilCryptoinlinestatic