2000年12月中旬に 39種類の暗号形式でファイルや文章を暗号化・復号化できる「Crypt It!」(フリーソフト) というものを知りました。
おもしろそうだったのでホームページの行き,ファイルを取ってきたのですが暗号化アルゴリズム自体は含まれていませんでした。書かれている readme.txt を読むと暗号化アルゴリズムは http://delphi.icm.edu.pl/ から配布されているものを使用しているとのことでした。
そこで http://delphi.icm.edu.pl/ に行き,「Delphi 5.0」のところを選択し,「Compression, Encryption」を選択すると「cipher.zip(Delphi Encryption Compendium Part I(フリーウェア)」というのがあります。(私が入手した日付は 2000/12/12 ) Part II, III はシェアウェアとなっています。アルゴリズム一覧を見ると,私も初めて見るものも多数ありました。
このアーカイブに含まれているアルゴリズムは次のようになっています。
5 Checksum: (五つのチェック・サム) |
CRC32, XOR32bit, XOR16bit, CRC16-CCITT, CRC16-Standard |
23 Hash: (23のハッシュ) |
MD4, MD5, SHA (other Name SHS), SHA1, RipeMD128, RipeMD160, RipeMD256, RipeMD320, Haval (128, 160, 192, 224, 256) with Rounds, Snefru, Square, Tiger Sapphire II (128, 160, 192, 224, 256, 288, 320) |
40 Cipher: (40の暗号) |
Gost, Cast128, Cast256, Blowfish, IDEA, Mars, Misty 1, RC2, RC4, RC5, RC6, FROG, Rijndael, SAFER, SAFER-K40, SAFER-SK40,SAFER-K64, SAFER-SK64, SAFER-K128, SAFER-SK128, TEA, TEAN, Skipjack, SCOP, Q128, 3Way, Twofish, Shark, Square, Single DES, Double DES, Triple DES, Double DES16, Triple DES16, TripleDES24, DESX, NewDES, Diamond II, Diamond II Lite, Sapphire II |
2 RNG: (2つの乱数生成器) |
Standard Random Generator, Linear Feedback Shift Register RNG with variable Period from 2^64-1 to 2^2032-1. |
6 Text Formats: (6つのテキスト・フォーマット) |
Hexadecimal, MIME Base 64, Plain, RFC1760 Six Word, UU Coding, XX Coding |
others: (その他) |
* Low Level API to access outside from Delphi and BCB * Fast implementation (i.E. THash_MD4 > 27Mb/sec, TCipher_Blowfish > 8.0 Mb/sec) * Stringformat Management, includes: HEX, MIME Base 64, RFC1760 Six Word, UU and XX Coding String converting and Samples * Designtime Manager Components for Hash's and Cipher's * Full and easy objectorientated * RNG's can be cryptographicaly secure * Standard Cipher Modes: CBC - Cipher Block Chaining CTS - Cipher Text Stealing CFB - Cipher Feedback OFB - Output Feedback ECB - Electronic Code Book CBCMAC - CBC Message Authentication Code CTSMAC - CTS Message Authentication Code CFBMAC - CFB Message Authentication Code * High optimized Assembler Core * Progress Gauge Support in all Cipher's, Hash's, CheckSums's * Self Test Support for all Cipher's, Hash's, CheckSums's to test of any illegal or incorrect Modification's * Detailed and full DEMO * variable HMAC's - Hash Message Authentication Code Support for all THash_XXX Classes, supports RFC2104 Standard HMAC's * automatically Compression Support * Chaining from all THash_XXX, TRandom_XXX, TCipher_XXXX and TCompress_XXX Classes * En/Decryption/Scrambling/Wipe with all TProtection Classes, this includes all Hash's, Cipher's, Random's and Compress's Classes * Internet RFC2289/RFC1760/RFC2444 One Time Password Routines as Component * many more... |
プログラミングの参考にするには良さそうです。