Name | Description | |
---|---|---|
![]() | Encryption Constructor | Overloaded. |
The following tables list the members exposed by Encryption.
Name | Description | |
---|---|---|
![]() | Encryption Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | BitLength | The bit length for HAVAL. The default is 128. Valid values are 128, 160, 192, 224, and 256 |
![]() | CipherMethod | Support CBC or ECB Cipher Modes for Rijandael or Twofish. The default is CBC (reccommended) |
![]() | EncodingMethod | Set the encoding method used for converting unicode strings into bytes. The default is UTF8 |
![]() | GHashStandard | GHashStandard. Default is 5 |
![]() | InitializationVector | Initialization Vector for Encryption |
![]() | Padding | Set the padding mode used, the default is ISO10126 |
![]() | Passes | The number of passes for HAVAL. The default is 3. Valid values are 3, 4, 5 |
![]() | RsaKeySize | The KeySize for RSA. Valid Sizes: 1024, 2048, 4096. The default is 1024 |
![]() | Salt | Salt for Hashing and Encryption |
![]() | WriteEncryptionPrefix | By default, when encrypting to a string the prefix @KS@ will be written, indicating that the string is encrypted. If turnned off, the IsStringEncrypted or the IsFileEncrypted method will no longer be 100% accurate. In this case if there are non-base64 characters it will be considered encrypted. |
Name | Description | |
---|---|---|
![]() | BytesToHexString | Encode bytes to a hex encoded string |
![]() | BytesToQuotedPrintable | Encode bytes to a quoted printable string |
![]() | CompressBytes | Compress the passed bytes using the specified compression type |
![]() | CompressFile | Compress a file using the specified compression type |
![]() | CompressStream | Compress a stream using the specified compression type |
![]() | CrcEqual | Returns true if the CRC is equal for two local files |
![]() | CreateTimedOneTimePassword | Creates a timed one time password based on the passed key for the valid number of seconds. |
![]() | DecodeBase32 | Decode the passed Base32 encoded string as bytes |
![]() | DecodeBase58NoChecksum | Decode a Base58 Encoded string with no checksum into bytes |
![]() | DecodeBase58WithChecksum | Decode a Base58 Encoded string with no checksum into bytes |
![]() | DecodeBase64 | Decode a string that is Base64 encoded |
![]() | DecompressBytes | Decompress the passed bytes using the specified compression type |
![]() | DecompressFile | Decompress a file using the specified compression type |
![]() | DecompressStream | Decompress a stream using the specified compression type |
![]() | DecryptBytes | Decrypt bytes using the selected Decryption provider |
![]() | DecryptFile | Overloaded. Decrypt a text or binary file using the selected Decryption provider |
![]() | DecryptMemoryStream | Decrypt the memory stream using the selected Decryption provider |
![]() | DecryptStream | Decrypt a stream using the selected Decryption provider |
![]() | DecryptString | Decrypt a base 64 encoded string |
![]() | EncodeBase32 | Encode the passed bytes as a Base32 Encoded String |
![]() | EncodeBase58NoChecksum | Encode the passed bytes as a Base58 Encoded string with no checksum |
![]() | EncodeBase58WithChecksum | Encode the passed bytes as a Base58 Encoded string with no checksum |
![]() | EncodeBase64 | Encode bytes with Base64 |
![]() | EncryptBytes | Encrypt bytes using the selected encryption provider |
![]() | EncryptFile | Overloaded. Encrypt a text or binary file using the selected encryption provider |
![]() | EncryptMemoryStream | Encrypt the memory stream using the selected encryption provider |
![]() | EncryptStream | Encrypt a stream using the selected encryption provider |
![]() | EncryptString | Encrypt and return a base64 encoded string |
![]() | GenerateKey | Overloaded. Generate a cryptographically strong random string to use as a key, salt, or initialization vector |
![]() | GenerateRSAKeys | Create public and private keys |
![]() | GenerateSixDigitPin | Generate a six digit PIN based on a string. Uses CRC32 as a basis. Always generates 6 digits. |
![]() | GetFileAdler32 | Get an Adler 32 Checksum for a file |
![]() | GetFileAdler32Hex | Gets adler32 checksum for a file in hexadecimal. |
![]() | GetFileCRC32 | Get a 32 bit Cyclic Redundency Check for a file |
![]() | GetFileCRC32Hex | Gets the CRC32 checksum in hexadecimal for the passed in file. |
![]() | GetStreamAdler32 | Get the Adler 32 Checksum for a stream |
![]() | GetStreamAdler32Hex | Gets adler32 checksum in hexadecimal for the passed stream. |
![]() | GetStreamCRC32 | Get a 32 bit Cyclic Redundency Check for a stream |
![]() | GetStringAdler32 | Get the Adler 32 Checksum for a string |
![]() | GetStringCRC32 | Get the CRC 32 for a string |
![]() | GetSymmetricEncryptionKeySize | Returns the maximum symmetric algorithm key size in bits. |
![]() | HashBytes | Overloaded. Deprecated. Hashes the bytes. |
![]() | HashBytesBase64 | Overloaded. Return a Base64 encoded one way hash of a series of bytes |
![]() | HashBytesHex | Overloaded. Hashes the bytes and returns the result in hexadecimal. |
![]() | HashFile | Overloaded. Deprecated. Use HashFileBase64 instead. There is also a new method HashFileHex |
![]() | HashFileBase64 | Overloaded. Hash a file using the specified hash provider |
![]() | HashFileHex | Overloaded. Hashes the file and returns the result in hexadecimal. |
![]() | HashString | Overloaded. Deprecated. Use HashStringBase64 instead. There is also a new method HashStringHex. |
![]() | HashStringBase64 | Overloaded. Return a Base64 encoded one way hash of a string |
![]() | HashStringHex | Overloaded. Hashes the string and returns the results in hexadecimal. |
![]() | HexadecimalStringToByteArray | Convert a hexadecimal string to a byte array. |
![]() | IsFileEncrypted | Returns true if a file is Encrypted by the Kellerman Software Encryption Library |
![]() | IsStringEncrypted | Returns true if a string is encrypted with the Kellerman Encryption Library |
![]() | SecureDirectoryErase | Overloaded. Securely erase all files and sub directories within a directory |
![]() | SecureFileErase | Overloaded. Securely delete a file by overwriting with random bytes, renaming and then deleting it |
![]() | uuDecode | Decode a uuEncoded string |
![]() | uuEncode | Encode a string using uuEncode |
![]() | ValidateCertificate | Checks the status of a certificate, whether it is: expired, untrusted, or trusted |
![]() | VerifyTimeOneTimePassword | Verify that the timed one time password is still valid |