Crypt :: TC18. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Julius C. Duque
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~jcduque/Crypt-Rainbow-1.0.0/Rainbow.pm
Crypt :: TC18. ű×
Crypt :: TC18. ¼³¸í
Crypt :: CBC ȣȯ ºí·Ï ¾ÏÈ£ Crypt :: TC18Àº Crypt :: CBC ȣȯ ºí·Ï Cipher.AbstractTC18Àº 64 ºñÆ® Å°¸¦ ¼ö¶ôÇÏ´Â 128 ºñÆ® ºí·Ï ¾ÏÈ£ÀÔ´Ï´Ù. TC18Àº xsm.synopsis »ç¿ë crypt :: tc18; $ cipher = new crypt :: tc18 $ Å°; $ ciphertext = $ cipher-> ¾ÏÈ£È ($ PRALEXT); $ plaintext = $ cipher-> decrypt ($ ciphertext); $ bs = $ cipher-> blocksize; $ ks = $ cipher-> ¿¼è; $ r = $ cipher-> ¶ó¿îµå; TC18Àº 64 ºñÆ® Å°¸¦ ¼ö¶ôÇÏ´Â 128 ºñÆ® ºí·Ï ¾ÏÈ£ÀÔ´Ï´Ù. Tom St. Denis°¡ µðÀÚÀÎÇß½À´Ï´Ù.ÀÌ ¸ðµâÀº ´ÙÀ½°ú °°Àº ±â´ÉÀ» »ç¿ëÇÏ¿© Crypt :: CBC ÀÎÅÍÆäÀ̽º¸¦ Áö¿øÇÕ´Ï´Ù .FunctionsBlockSize´Â ºí·ÏÀÇ Å©±â (16,ÀÌ °æ¿ì) Å° Å©±â¸¦ ¸®ÅÏÇÕ´Ï´Ù (¹ÙÀÌÆ® ´ÜÀ§) Å° (8,ÀÌ °æ¿ì) ¶ó¿îµå´Â TC18 (16,ÀÌ °æ¿ì) Encrypt ($ µ¥ÀÌÅÍ)°¡ »ç¿ëÇÏ´Â ¶ó¿îµå ¼ö¸¦ Encrypt ($ DATA)¸¦ ¾ÏÈ£ÈÇÏ°í ÇØ´ç CipherTextDecrypt ($ µ¥ÀÌÅÍ)¸¦ ¹ÝȯÇÕ´Ï´Ù. $ data ¹× ÇØ´ç ÀÏ¹Ý ÅؽºÆ® ¿ä±¸ »çÇ×À» ¹ÝȯÇÕ´Ï´Ù. ¡¤ Perl.
Crypt :: TC18. °ü·Ã ¼ÒÇÁÆ®¿þ¾î