ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
RC6 - Wikipedia, the free encyclopedia

RC6

From Wikipedia, the free encyclopedia

RC6

The Feistel function of the RC6 algorithm.
General
Designers Ron Rivest, Matt Robshaw, Ray Sidney, Yiqun Lisa Yin
First published 1998
Derived from RC5
Certification AES finalist
Cipher detail
Key sizes 128, 192, or 256 bits
Block sizes 128 bits
Structure Feistel network
Rounds 20

In cryptography, RC6 is a symmetric key block cipher derived from RC5. It was designed by Ron Rivest, Matt Robshaw, Ray Sidney, and Yiqun Lisa Yin to meet the requirements of the Advanced Encryption Standard (AES) competition. The algorithm was one of the five finalists, and was also submitted to the NESSIE and CRYPTREC projects. It is a proprietary algorithm, patented by RSA Security.

RC6 proper has a block size of 128 bits and supports key sizes of 128, 192 and 256 bits, but, like RC5, it can be parameterised to support a wide variety of word-lengths, key sizes and number of rounds. RC6 is very similar to RC5 in structure, using data-dependent rotations, modular addition and XOR operations; in fact, RC6 could be viewed as interweaving two parallel RC5 encryption processes. However, RC6 does use an extra multiplication operation not present in RC5 in order to make the rotation dependent on every bit in a word, and not just the least significant few bits.


Contents

[edit] Encryption/Decryption

Encryption/Decryption with RC6-w/r/b
 
Input:   Plaintext stored in four w-bit input registers A, B, C & D
        r is the number of rounds
        w-bit round keys S[0, ... , 2r + 3]
 
Output: Ciphertext stored in A, B, C, D
 
// '''Encryption Procedure:'''
 
        B = B + S[0]
        D = D + S[1]
        for i = 1 to r do
        {
                t = (B(2B + 1)) <<< lg w
                u = (D(2D + 1)) <<< lg w
                A = ((A ^ t) <<< u) + S[2i]
                C = ((C ^ u) <<< t) + S[2i + 1]
        }
        A = A + S[2r + 2]
        C = C + S[2r + 3]
 
 
// '''Decryption Procedure:'''
 
        C = C - S[2r + 3]
        A = A - S[2r + 2]
 
        for i = r downto 1 do
        {
           (A, B, C, D) = (D, A, B, C)
            u = (D.(2D + 1)) <<< lg w
            t = (B.(2B + 1)) <<< lg w
            C = ((C - S[2i + 1]) >>> t) ^ u
            A = ((A - S[2i]) >>> u) ^ t
        }
        D = D - S[1]
        B = B - S[0]

[edit] Licensing

As RC6 has not been selected for the AES, it is not guaranteed that RC6 is royalty-free. As of January 2007, a web page on the official web site of the designers of RC6, RSA Laboratories, states the following:

"We emphasize that if RC6 is selected for the AES, RSA Security will not require any licensing or royalty payments for products using the algorithm".

The emphasis on the word "if" suggests that RSA Security Inc. may now require licensing and royalty payments for any products using the RC6 algorithm. RC6 is a patented encryption algorithm (U.S. Patent 5,724,428  and U.S. Patent 5,835,600 ).

[edit] References

[edit] External links



aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -