home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Security / Security.zip / idea-v11.zip / test1 < prev    next >
Text File  |  1993-11-17  |  2KB  |  43 lines

  1. echo "Examples of Encrypted Data using IDEA" > out
  2. echo "=====================================" >> out
  3. echo "" >> out
  4. echo "input data" >> out
  5. dumphex in >> out
  6. echo "idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -ecb" >> out
  7. idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -ecb in temp
  8. dumphex temp >> out
  9. echo "idea -k AaBcDeFgHiJkLmNoPqRsTuVwXyZz0123456789 -e -ecb" >> out
  10. idea -k AaBcDeFgHiJkLmNoPqRsTuVwXyZz0123456789 -e -ecb in temp
  11. dumphex temp >> out
  12. echo "idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -cbc" >> out
  13. idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -cbc in temp
  14. dumphex temp >> out
  15. echo "idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -cbc3" >> out
  16. idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -cbc3 in temp
  17. dumphex temp >> out
  18. echo "idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -cfb" >> out
  19. idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -cfb in temp
  20. dumphex temp >> out
  21. echo "idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -cfb4" >> out
  22. idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -cfb4 in temp
  23. dumphex temp >> out
  24. echo "idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -ofb" >> out
  25. idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -ofb in temp
  26. dumphex temp >> out
  27. echo "idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -ofb5" >> out
  28. idea -K 112233445566778899AABBCCDDEEFF:1:2:3:4:5 -e -ofb5 in temp
  29. dumphex temp >> out
  30. echo "idea -K 112233445566778899AABBCCDDEEFF -h -tan" >> out
  31. echo "" >> out
  32. idea -K 112233445566778899AABBCCDDEEFF -h -tan in >> out
  33. echo "" >> out
  34. echo "" >> out
  35. echo "idea -K 112233445566778899AABBCCDDEEFF -h -abr" >> out
  36. echo "" >> out
  37. idea -K 112233445566778899AABBCCDDEEFF -h -abr in >> out
  38. echo "" >> out
  39. rm temp
  40.  
  41. echo ""
  42. echo "check now if the files 'out' and 'Examples' are identical!"
  43.