SlideShare a Scribd company logo
1 of 6
Download to read offline
Zcipher Algorithm
Ilya O. Levin
rump session @ ASIACRYPT 2007
Zcipher: A History
 Designed about 6 years ago as a side joke
 Surprisingly was “proprietarized” and covered
by NDA (recently lifted)
 In Nov 2007 put in public domain as a toy
cipher
http://www.literatecode.com/zcipher
Zcipher: Profile
 Simple 64-bit block cipher with 128-bit key
 Easy to understand
 Good to tease your students with or to kill
another boring lunchtime
http://www.literatecode.com/zcipher
Zcipher: Encryption
void encr(uint32_t *k)
{
uint32_t t, i = ROUNDS,
x = k[0], y = k[1],
v1 = k[2], v2 = k[3],
v3 = k[4], v4 = k[5];
while (i-->0)
{
t = x * 0x48C27395;
x = y + C1 + t;
y = t;
v2 += C0;
v4 = R(v4, 4);
x = R(x + v1, 23) + v2;
y = R(y - v3, 11) + v4;
}
k[0] = x ^ v3; k[1] = y ^ v1;
} /* encr */
http://www.literatecode.com/zcipher
Zcipher: Key Schedule
f(a, b, r, C)  ( ((a – b) + C)<<< 19 + b )<<< r
C0 = 9E3779B9hex
C1 = E2E4C7C5hex
C2 = 16C7D03Bhex
C3 = 3A11584Fhex
repeat 4 times
{
v1:= f (v2, v1, 11, C0)
v2:= f (v3, v2, 9, C1)
v3:= f (v4, v3, 7, C2)
v4:= f (v1, v4, 10, C3)
}
http://www.literatecode.com/zcipher
Zcipher: Conclusion
More details are available at
http://www.literatecode.com/zcipher
Thank you

More Related Content

Viewers also liked

La responsabilità socio-ambientale lungo la filiera dalla chimica al tessile
La responsabilità socio-ambientale lungo la filiera dalla chimica al tessileLa responsabilità socio-ambientale lungo la filiera dalla chimica al tessile
La responsabilità socio-ambientale lungo la filiera dalla chimica al tessileRadiciGroup
 
To Be Glocal 2014 - RadiciGroup Corporate Brochure - English
To Be Glocal 2014 - RadiciGroup Corporate Brochure - EnglishTo Be Glocal 2014 - RadiciGroup Corporate Brochure - English
To Be Glocal 2014 - RadiciGroup Corporate Brochure - EnglishRadiciGroup
 
Social and environmental responsibility in the chemicals and textiles supply ...
Social and environmental responsibility in the chemicals and textiles supply ...Social and environmental responsibility in the chemicals and textiles supply ...
Social and environmental responsibility in the chemicals and textiles supply ...RadiciGroup
 
Digital portfolio
Digital portfolioDigital portfolio
Digital portfoliolex_nicolee
 
Pc agrar-a-prega-az-irodaban-kezdodik3
Pc agrar-a-prega-az-irodaban-kezdodik3Pc agrar-a-prega-az-irodaban-kezdodik3
Pc agrar-a-prega-az-irodaban-kezdodik3Agroinform.com
 
RadiciGroup as a model of Sustainable Chemistry
RadiciGroup as a model of Sustainable ChemistryRadiciGroup as a model of Sustainable Chemistry
RadiciGroup as a model of Sustainable ChemistryRadiciGroup
 
Materiali speciali e approccio progettuale per un design innovativo: un binom...
Materiali speciali e approccio progettuale per un design innovativo: un binom...Materiali speciali e approccio progettuale per un design innovativo: un binom...
Materiali speciali e approccio progettuale per un design innovativo: un binom...RadiciGroup
 
Nieuwe media Hendrik Vanlessen
Nieuwe media Hendrik VanlessenNieuwe media Hendrik Vanlessen
Nieuwe media Hendrik VanlessenHendrikVanlessen
 
La Sperimentazione della Metodologia Product Environmental Footprint per Valo...
La Sperimentazione della Metodologia Product Environmental Footprint per Valo...La Sperimentazione della Metodologia Product Environmental Footprint per Valo...
La Sperimentazione della Metodologia Product Environmental Footprint per Valo...RadiciGroup
 
RadiciGroup Sustainability Report in pills...
RadiciGroup Sustainability Report in pills...RadiciGroup Sustainability Report in pills...
RadiciGroup Sustainability Report in pills...RadiciGroup
 
Vakantie planning voor meester jeroen
Vakantie planning voor meester jeroenVakantie planning voor meester jeroen
Vakantie planning voor meester jeroenjeroengennep
 
White Paper | The Interoperability Executive Customer Council: A Collaboratio...
White Paper | The Interoperability Executive Customer Council: A Collaboratio...White Paper | The Interoperability Executive Customer Council: A Collaboratio...
White Paper | The Interoperability Executive Customer Council: A Collaboratio...The Microsoft Openness Network
 
International Business Management - Lecture No 04
International Business Management - Lecture No 04International Business Management - Lecture No 04
International Business Management - Lecture No 04Khurshid Swati
 
Acp uk research (cred)
Acp uk research (cred)Acp uk research (cred)
Acp uk research (cred)cambridgeharry
 
RadiciGroup for Sustainability Report - Key Elements 06 - Trvale Udržitelný P...
RadiciGroup for Sustainability Report - Key Elements 06 - Trvale Udržitelný P...RadiciGroup for Sustainability Report - Key Elements 06 - Trvale Udržitelný P...
RadiciGroup for Sustainability Report - Key Elements 06 - Trvale Udržitelný P...RadiciGroup
 

Viewers also liked (20)

Valkon eloadas
Valkon eloadasValkon eloadas
Valkon eloadas
 
drwing
drwingdrwing
drwing
 
La responsabilità socio-ambientale lungo la filiera dalla chimica al tessile
La responsabilità socio-ambientale lungo la filiera dalla chimica al tessileLa responsabilità socio-ambientale lungo la filiera dalla chimica al tessile
La responsabilità socio-ambientale lungo la filiera dalla chimica al tessile
 
To Be Glocal 2014 - RadiciGroup Corporate Brochure - English
To Be Glocal 2014 - RadiciGroup Corporate Brochure - EnglishTo Be Glocal 2014 - RadiciGroup Corporate Brochure - English
To Be Glocal 2014 - RadiciGroup Corporate Brochure - English
 
Social and environmental responsibility in the chemicals and textiles supply ...
Social and environmental responsibility in the chemicals and textiles supply ...Social and environmental responsibility in the chemicals and textiles supply ...
Social and environmental responsibility in the chemicals and textiles supply ...
 
5 winahyu
5 winahyu5 winahyu
5 winahyu
 
Digital portfolio
Digital portfolioDigital portfolio
Digital portfolio
 
Pc agrar-a-prega-az-irodaban-kezdodik3
Pc agrar-a-prega-az-irodaban-kezdodik3Pc agrar-a-prega-az-irodaban-kezdodik3
Pc agrar-a-prega-az-irodaban-kezdodik3
 
RadiciGroup as a model of Sustainable Chemistry
RadiciGroup as a model of Sustainable ChemistryRadiciGroup as a model of Sustainable Chemistry
RadiciGroup as a model of Sustainable Chemistry
 
Kecskemét basf 2015
Kecskemét basf 2015Kecskemét basf 2015
Kecskemét basf 2015
 
Materiali speciali e approccio progettuale per un design innovativo: un binom...
Materiali speciali e approccio progettuale per un design innovativo: un binom...Materiali speciali e approccio progettuale per un design innovativo: un binom...
Materiali speciali e approccio progettuale per un design innovativo: un binom...
 
Nieuwe media Hendrik Vanlessen
Nieuwe media Hendrik VanlessenNieuwe media Hendrik Vanlessen
Nieuwe media Hendrik Vanlessen
 
La Sperimentazione della Metodologia Product Environmental Footprint per Valo...
La Sperimentazione della Metodologia Product Environmental Footprint per Valo...La Sperimentazione della Metodologia Product Environmental Footprint per Valo...
La Sperimentazione della Metodologia Product Environmental Footprint per Valo...
 
RadiciGroup Sustainability Report in pills...
RadiciGroup Sustainability Report in pills...RadiciGroup Sustainability Report in pills...
RadiciGroup Sustainability Report in pills...
 
Vakantie planning voor meester jeroen
Vakantie planning voor meester jeroenVakantie planning voor meester jeroen
Vakantie planning voor meester jeroen
 
White Paper | The Interoperability Executive Customer Council: A Collaboratio...
White Paper | The Interoperability Executive Customer Council: A Collaboratio...White Paper | The Interoperability Executive Customer Council: A Collaboratio...
White Paper | The Interoperability Executive Customer Council: A Collaboratio...
 
International Business Management - Lecture No 04
International Business Management - Lecture No 04International Business Management - Lecture No 04
International Business Management - Lecture No 04
 
Acp uk research (cred)
Acp uk research (cred)Acp uk research (cred)
Acp uk research (cred)
 
De challenge
De challengeDe challenge
De challenge
 
RadiciGroup for Sustainability Report - Key Elements 06 - Trvale Udržitelný P...
RadiciGroup for Sustainability Report - Key Elements 06 - Trvale Udržitelný P...RadiciGroup for Sustainability Report - Key Elements 06 - Trvale Udržitelný P...
RadiciGroup for Sustainability Report - Key Elements 06 - Trvale Udržitelný P...
 

Similar to Zcipher Algorithm

what engineers don't know (but probably mathematicians do)
what engineers don't know (but probably mathematicians do)what engineers don't know (but probably mathematicians do)
what engineers don't know (but probably mathematicians do)budi rahardjo
 
Vectorization with LMS: SIMD Intrinsics
Vectorization with LMS: SIMD IntrinsicsVectorization with LMS: SIMD Intrinsics
Vectorization with LMS: SIMD IntrinsicsETH Zurich
 
Introductory Lecture on Cryptography and Information Security
Introductory Lecture on Cryptography and Information SecurityIntroductory Lecture on Cryptography and Information Security
Introductory Lecture on Cryptography and Information SecurityBikramjit Sarkar, Ph.D.
 
12 symmetric key cryptography
12   symmetric key cryptography12   symmetric key cryptography
12 symmetric key cryptographydrewz lin
 
Ch08-CryptoConcepts.ppt
Ch08-CryptoConcepts.pptCh08-CryptoConcepts.ppt
Ch08-CryptoConcepts.pptShounakDas16
 
The Ultimate IDS Smackdown
The Ultimate IDS SmackdownThe Ultimate IDS Smackdown
The Ultimate IDS SmackdownMario Heiderich
 
Overview on Cryptography and Network Security
Overview on Cryptography and Network SecurityOverview on Cryptography and Network Security
Overview on Cryptography and Network SecurityDr. Rupa Ch
 

Similar to Zcipher Algorithm (9)

what engineers don't know (but probably mathematicians do)
what engineers don't know (but probably mathematicians do)what engineers don't know (but probably mathematicians do)
what engineers don't know (but probably mathematicians do)
 
Vectorization with LMS: SIMD Intrinsics
Vectorization with LMS: SIMD IntrinsicsVectorization with LMS: SIMD Intrinsics
Vectorization with LMS: SIMD Intrinsics
 
Introductory Lecture on Cryptography and Information Security
Introductory Lecture on Cryptography and Information SecurityIntroductory Lecture on Cryptography and Information Security
Introductory Lecture on Cryptography and Information Security
 
12 symmetric key cryptography
12   symmetric key cryptography12   symmetric key cryptography
12 symmetric key cryptography
 
Ch08-CryptoConcepts.ppt
Ch08-CryptoConcepts.pptCh08-CryptoConcepts.ppt
Ch08-CryptoConcepts.ppt
 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
 
The Ultimate IDS Smackdown
The Ultimate IDS SmackdownThe Ultimate IDS Smackdown
The Ultimate IDS Smackdown
 
Cryptography Attacks and Applications
Cryptography Attacks and ApplicationsCryptography Attacks and Applications
Cryptography Attacks and Applications
 
Overview on Cryptography and Network Security
Overview on Cryptography and Network SecurityOverview on Cryptography and Network Security
Overview on Cryptography and Network Security
 

Recently uploaded

Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCEPRINCE C P
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptMAESTRELLAMesa2
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxpradhanghanshyam7136
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |aasikanpl
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physicsvishikhakeshava1
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 

Recently uploaded (20)

Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
G9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.pptG9 Science Q4- Week 1-2 Projectile Motion.ppt
G9 Science Q4- Week 1-2 Projectile Motion.ppt
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptx
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physics
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 

Zcipher Algorithm

  • 1. Zcipher Algorithm Ilya O. Levin rump session @ ASIACRYPT 2007
  • 2. Zcipher: A History  Designed about 6 years ago as a side joke  Surprisingly was “proprietarized” and covered by NDA (recently lifted)  In Nov 2007 put in public domain as a toy cipher http://www.literatecode.com/zcipher
  • 3. Zcipher: Profile  Simple 64-bit block cipher with 128-bit key  Easy to understand  Good to tease your students with or to kill another boring lunchtime http://www.literatecode.com/zcipher
  • 4. Zcipher: Encryption void encr(uint32_t *k) { uint32_t t, i = ROUNDS, x = k[0], y = k[1], v1 = k[2], v2 = k[3], v3 = k[4], v4 = k[5]; while (i-->0) { t = x * 0x48C27395; x = y + C1 + t; y = t; v2 += C0; v4 = R(v4, 4); x = R(x + v1, 23) + v2; y = R(y - v3, 11) + v4; } k[0] = x ^ v3; k[1] = y ^ v1; } /* encr */ http://www.literatecode.com/zcipher
  • 5. Zcipher: Key Schedule f(a, b, r, C)  ( ((a – b) + C)<<< 19 + b )<<< r C0 = 9E3779B9hex C1 = E2E4C7C5hex C2 = 16C7D03Bhex C3 = 3A11584Fhex repeat 4 times { v1:= f (v2, v1, 11, C0) v2:= f (v3, v2, 9, C1) v3:= f (v4, v3, 7, C2) v4:= f (v1, v4, 10, C3) } http://www.literatecode.com/zcipher
  • 6. Zcipher: Conclusion More details are available at http://www.literatecode.com/zcipher Thank you