• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

C# C# Encryption Examples

Status
Not open for further replies.

sQuo

~ KillmeMories ~
Shadow
User
Joined
Oct 16, 2011
Messages
5,851
Reputation
0
Reaction score
22,904
Points
688
Credits
0
‎13 Years of Service‎
24%
C# Encryption Examples

Encrypt File to .p7m


Decrypt a .p7m (PKCS7) File



Sign a File to Create a .p7s File



Verify .p7s and Extract Original File



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



File Encryption / Decryption



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)



Encrypt a File using 128-bit Rijndael (AES)



Blowfish Encrypt a Byte Array



Encrypt String to URL-Encoded Encrypted String



Encrypt Bytes to Base64-Encoded Encrypted String



Simple Base64 Conversion



Hexidecimalize a String



URL-Encode a String



Base64 Decode a String



URL Decode a String



Hex Decode a String



SHA-1 Hash Byte Array to String



MD5 Hash a String to a Base64, Hex, or URL-Encoded String



MD2 Hash a String to a Base64, Hex, or URL-Encoded String



Haval Hash a String to a Base64, Hex, or URL-Encoded String



BZIP2 Compress Byte Array to Base64-Encoded Compressed String



BZIP2 Compress + AES Encrypt + Base64-Encode



3DES Public-Key Encryption using Digital Certificates



AES Compress and Encrypt



256-bit AES Encrypt to a Hex String



C# Blowfish CBC Encryption to Match Published Test Vectors



C# Blowfish ECB Encryption to Match Published Test Vectors



OMA DRM: Create DCF



OMA DRM: Read DCF



C# AES String-to-String Encryption



Match Java JCE AES Encryption Results (ECB mode)



Match Java JCE AES CBC Encryption Results


This link is hidden for visitors. Please Log in or register now.


 
Status
Not open for further replies.
Back
Top