|
| |
VB.NET Encryption Examples
These examples use the Chilkat.Crypt2
class
- Encrypt File to .p7m
- Sign a File to Create a .p7s File
- Verify .p7s and Extract Original File
- Quoted-Printable Encode/Decode a String
- Quoted-Printable Encode/Decode a String
- Base64 Encode/Decode a String
- Hash Algorithms: SHA-1, HAVAL, MD2, MD5, SHA-256, SHA-384, SHA-512
- String Compression
- SHA-1 Hash a String (XML Document)
- MD5 Hash a String
- Sign a File to Create a .p7m File
- Sign with .pfx to create .p7s, Verify with .cer
- ARC4 Encryption (ARCFOUR)
- Encrypting/decrypting a data stream.
- Generate Psuedo-Random Data using ARC4 as a PRNG
- HMAC MD5 to Match RFC 2022 Test Vectors
- HMAC SHA-1 to Match RFC 2022 Test Vectors
- ASCII / ANSI Secret Key in Symmetric Encryption
- Create .p7s Signature with HSM / Smartcard
- 3DES Encryption (Triple-DES, 168-bit, TDEA, TDES)
- Hash File: SHA-1, HAVAL, MD2, MD5, SHA-256, SHA-384, SHA-512
- Re-Encode a String (Hex, Base64, URL, etc)
- EncryptEncoded: Decode-->Encrypt Bytes-->Encode
- AES Encryption
- Blowfish Encryption, ECB, CBC, CFB modes
- 3DES Encryption, ECB, CBC modes
- 56-bit DES Encryption, ECB, CBC modes
- Twofish Encryption - 128-bit, 192-bit, 256-bit
- RC2 Encryption and Decryption
- ARC4 Encryption (ARCFOUR)
- Generate Secret Key from Password
- AES Encryption to Match PHP's Mcrypt Extension
- Blowfish Encryption to Match PHP's Mcrypt Extension
- 3DES Test Vector
- 2-Key Triple DES
- HMAC SHA1 for Amazon S3
- Calculate MD5 Hash of File (or SHA-1, and other hash algorithms)
- Encrypt URL Query Parameters
- Re-Encode (How to convert encodings)
- PBKDF1 - Derive Key from Password
- PBKDF2 - Derive Key from Password
- PBES1 Password-Based Encryption (PBE)
- PBES2 Password-Based Encryption (PBE)
- MD4 Hash a String
- RIPEMD Hash a String
- Match MySQL AES_ENCRYPT Function
- AES String Encryption
- 112-bit 3DES Encryption
- HMAC SHA-1 Matching FIPS Examples
- Duplicate Java's PBEWithMD5AndDES
- Decrypt P7M using PFX to get MIME
- UU Encoding and Decoding
- Sign a File to Create a .p7m File (using a PFX)
- Sign a File to Create a .p7s (Detached Signature)
- Encrypt File to PKCS7 .p7m
- URL Signing for Google Maps API
- Extract a File from a .p7m (PKCS7 Signed-Data)
- Decrypt a .p7m File (using a PFX)
- WPA Key Calculation from PassPhrase to Hex
- AES
symmetric encryption as defined by NIST
- Blowfish
Encrypt Byte Array
- Blowfish
Encryption Returning a URL-Encoded String
- Blowfish
Encrypt Bytes Returning Base64 String
- Base64
String Encoding
- URL-Encode
a String
- Quoted-Printable
Encoding and Decoding
- SHA-1
Hash a String returning a URL-Encoded Hash String
- HAVAL
Hash a String returning a Base64 Hash String
- Digest-MD5
Hash a String returning a Hexidecimalized Hash String
- MD2
Hash a String returning a Byte Array
- Create
and Verify a Digital Signature for a File
- Sign
a String to Create Base64 Encoded Signature
- Sign
a Byte Array to Create a Hex-Encoded Signature
- BZIP2 Compress String returning URL-Encoded Compressed String
- Blowfish Encrypt + BZIP2 Compression to URL-Encoded Strings
- 3DES Public-Key Encryption using Digital Certificates
- Blowfish Encryption Matching Published Test Vectors
- File-to-File Encryption and Decryption
- AES String Encryption w/ Base64 Encoding
- AES Encrypt a String w/ Hex Encoding Output
- Match Java JCE AES Encryption Results (ECB mode)
- Match Java JCE AES CBC Encryption Results
The following examples use the older Chilkat.Crypt
class
|