HomeCommunityControl GalleryData & XML.NET Encoder Wizard

.NET Encoder Wizard



Submit a Review

365 Downloads

19,487 Views


Description

.NET Encoder Wizard is a class library for .NET that includes the most common encoding algorithms as well as a popular hash and data integrity algorithms. The following list shows them. 

  • Base 64 is the Encoding Method usually used for Binary files in MIME messages. It is also used to encode data for special characters across telnet connection to certain servers.
  • Quoted-Printable is used to encode text for transmission accross certain mail servers. It is also commonly used in MIME messages.
  • UUEncode is the data encoding mechanism used by Unix systems for encapsulating binary data so that it can transported safely across network connections.
  • yEnc is a recently created encoding method that is now used a lot in newsgroups since it is significantly more efficient for data storage than the UUEncode format.
  • MD5 is a message digest hash algorithm that is used for validation and verification of message integrity. It creates a highly unique 16 byte ( 128 bit ) digest from a set of data that is almost impossible to recreate without the same exact input data.
  • HMAC-MD5 is a message digest hash algorithm that is based on the MD5 hashing algorithm but uses a secret key to ensure data security and integrity.
  • URL encoding is used by webservers to contain all types of data for transmission through the http protocol. It is generally used to encode url access specifiers and form post data values.
  • SHA-1 is another highly secure message digest algorithm used by the United States Government. It is now a publicly open algorithm which uses a 160 bit or 20 byte digest.
  • Checksum is used for data integrity validation when only a simple method is needed 8bit.
  • CRC32 or cyclic redundancy check is great for data checks

    Syntax Example

    using System; using SeekfordSolutions.EncoderWizard; public class MyClass { public static void Main() { string sBase64EncodedData = ""; string sDataToEncode = "Seekford Solutions makes the best products!"; Base64 myEncoder = new Base64("Serial Number"); //use Base64() for evaluation mode Console.WriteLine("sDataToEncode = {0}",sDataToEncode); //Encode the data here and assign it sBase64EncodedData = myEncoder.EncodeData(sDataToEncode); Console.WriteLine("sBase64EncodedData = \"{0}\",sBase64EncodedData); } } /* This code produces the following output. sDataToEncode = "Seekford Solutions makes the best products!" sBase64EncodedData = "U2Vla2ZvcmQgU29sdXRpb25zIG1ha2VzIHRoZSBiZXN0IHByb2R1Y3RzIQ==" */

    Screenshots

    Reviews

    Submit a review