www.webdeveloper.com
Results 1 to 15 of 221

Thread: Here are 2 prototype-functions I created.

Threaded View

  1. #11
    Join Date
    Nov 2002
    Location
    England
    Posts
    693
    yes its the same function... I've modified the code because you can't decrypt when the code has been converted to hex. Usage is included in the file: enc.txt;

    //encrypt using single DES (with an 8 byte key) in CBC mode with the given input vector
    string.DES ("8bytekey", 1, 1, "inputvec");
    //encrypt using triple DES (with a 24 byte key) in ECB mode
    string.DES ("this is a 24 byte key !!", 1);
    //decrypt using single DES in ECB mode
    string.DES ("8bytekey", 0);
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 5 users browsing this thread. (0 members and 5 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles