Zcash 백서

Zcash

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 35쪽 중 28쪽

g for non-small order –notation in variable-base multiplication algorithm. 2018.0-beta-122018-03-06 #2018.0-beta-12 •Add references toOverwinterZIPs and update the section onOverwinter/ Saplingtransitions. •Add a section on re-randomizable signatures. •Add definition ofPRF nr. •Work-in-progress on Saplingstatements. •Rename “raw” to “homomorphic”Pedersen commitments. •Add packing modulo the field size and range checks to Appendix A. •Update the algorithm for variable-base scalar multiplication to what is implemented by sapling-crypto. 2018.0-beta-112018-02-26 #2018.0-beta-11 •Add sections onSpend descriptionsandOutput descriptions. •Swap order ofcvandrtin aSpend descriptionfor consistency. •Fix off-by-one error in the range ofivk. 2018.0-beta-102018-02-26 #2018.0-beta-10 • Split the descriptions of SHA-256 and SHA256Compress, and of BLAKE2, into their own sections. Specify SHA256Compressmore precisely. • Add Kexin Hu to acknowledgements (for the idea of explicitly encoding the root of the Sapling note commitment treeinblock headers). •Move bit/byte/integer conversion primitives into §5.1 ‘Integers, Bit Sequences, and Endianness’ on p.76. • Refer toOverwinterand Sapling just as “upgrades” in the abstract, not as the next “minor version” and “major version” . •PRF nr must becollision-resistant. •Correct an error in thePedersen hashspecification. • Use a named variable, 𝑐, for chunks per segment in thePedersen hashspecification, and change its value from 61to63. Add a proof justifying this value of𝑐. 185 •SpecifyPedersen commitments. •Notation changes. •Generalize thedistinct-𝑥criterion(Theorem A.3.4 on p.213) to allow negative indices. 2018.0-beta-92018-02-10 #2018.0-beta-9 • Specify the coinbase maturity rule, and the rule thatcoinbase transactionscannot containJoinSplit descriptions, Spend descriptions, orOutput descriptions. •Delay lifting the 100000-bytetransactionsize limit fromOverwinterto Sapling. •Improve presentation of the proof of injectivity forExtract J(𝑟). •SpecifyGroupHash J(𝑟)*. •SpecifyPedersen hashes. 2018.0-beta-82018-02-08 #2018.0-beta-8 •Add instantiation ofCRH ivk. •Add instantiation of a hash extractor (later renamed tocoordinate extractor) forJubjub. •Make the background lighter and the Saplinggreen darker, for contrast. 2018.0-beta-72018-02-07 #2018.0-beta-7 •Specify the100000-byte limit ontransactionsize. (The implementation in zcashd was as intended.) •Specify that 0xF6 followed by511zero bytes encodes an emptymemo field. •Reference security definitions forPseudo Random FunctionsandPseudo Random Generators. • Rename clamp to bound and ActualTimespanClamped to ActualTimespanBounded in the difficulty adjustment algorithm, to avoid a name collision withCurve25519scalar “clamping” . • Change uses of the termfull nodetofull validator. Afull nodeby definition participates in thepeer-to-peer network, whereas afull validatorjust needs a copy of theblock chainfrom somewhere. The latter is what was meant. •Add an explanation of how Saplingprevents Faerie Gold and roadblock attacks. • Sapling work in progress. 2018.0-beta-62018-01-31 #2018.0-beta-6 • Sapling work in progress, mainly on Appendix §A ‘Circuit Design’ on p.207. 2018.0-beta-52018-01-30 #2018.0-beta-5 •Specify more precisely the requirements onEd25519validating keysand signatures. • Sapling work in progress. 2018.0-beta-42018-01-25 #2018.0-beta-4 •Update key components diagram for Sapling. 186 2018.0-beta-32018-01-22 #2018.0-beta-3 •Explain how the chosen fix to Faerie Gold avoids a potential “roadblock” attack. •Update some explanations of changes fromZerocashfor Sapling. •Add a description of theJubjub curve. •Add an acknowledgement to George Tankersley. •Add an appendix on the design of the Saplingcircuits at thequadratic constraint programlevel. 2017.0-beta-2.92017-12-17 #2017.0-beta-2.9 •Refer tosk enc as areceiving keyrather than as a viewing key. •Updates forincoming viewing keysupport. •Refer to Network Upgrade 0 asOverwinter. 2017.0-beta-2.82017-12-02 #2017.0-beta-2.8 •Correct the non-normative note describing how to check the order of𝜋 𝐵. •Initial version of draft Saplingprotocol specification. 2017.0-beta-2.72017-07-10 #2017.0-beta-2.7 • Fix an off-by-one error in the specification of theEquihashalgorithm binding condition. (The implementation in zcashd was as intended.) • Correct the types and consensus rules fortransaction version numbersandblock version numbers. (Again, the implementation in zcashd was as intended.) •Clarify the computation ofh 𝑖 in aJoinSplit statement. 2017.0-beta-2.62017-05-09 #2017.0-beta-2.6 •Be more precise when talking about curve points and pairing groups. 2017.0-beta-2.52017-03-07 #2017.0-beta-2.5 •Clarify the consensus rule preventingdouble-spends. •Clarify what anote commitmentopens to in §8.8 ‘Omission in Zerocash Zerocash Zerocash Zerocashsecurity proof’ on p.154. •Correct the order of arguments toCOMMin §5.4.8.1 ‘Note Commitments (Sprout)’ on p.98. •Correct a statement about indistinguishability ofJoinSplit descriptions. • Change theFounders’ Rewardaddresses, forTestnetonly, to reflect the hard-fork upgrade described in [Zcash-Issue2113]. 2017.0-beta-2.42017-02-25 #2017.0-beta-2.4 •Explain a variation on the Faerie Gold attack and why it is prevented. • Generalize the description of the InternalH attack to include finding collisions on (apk,ρ) rather than just on ρ. •Renameenforce 𝑖 toenforceMerklePath 𝑖. 187 2017.0-beta-2.32017-02-12 #2017.0-beta-2.3 • Specify the security requirements on the SHA256Compress function, in order for the scheme in §5.4.8.1 ‘Note Commitments (Sprout)’ on p.98 to be a secure commitment. •SpecifyG 2 more precisely. •Explain the use of interstitialtreestatesin chainedJoinSplit transfers. 2017.0-beta-2.22017-02-11 #2017.0-beta-2.2 •Give definitions of computationalbindingand computationalhidingforcommitment schemes. •Give a definition of statistical zero knowledge. •Reference the white paper on MPC parameter generation [BGG2017]. 2017.0-beta-2.12017-02-06 #2017.0-beta-2.1 •ℓ Merkle is a bit length, not a byte length. •Specify the maximumblocksize. 2017.0-beta-22017-02-04 #2017.0-beta-2 •Add abstract and keywords. •Fix a typo in the definition ofnullifierintegrity. • Make the description ofblock chainsmore consistent with upstreamBitcoindocumentation (referring to “best“ chains rather than using the concept of ablock chain view). •Define how nodes select abest valid block chain. 2016.0-beta-1.132017-01-20 #2016.0-beta-1.13 •Specify the difficulty adjustment algorithm. •Clarify some definitions of fields in ablock header. •DefinePRF addr in §4.2.1 ‘Sprout Key Components’ on p.38. 2016.0-beta-1.122017-01-09 #2016.0-beta-1.12 •Update the hashes of proving and verifying keys for the final Sprout parameters. • Add cross references fromshielded payment addressandspending keyencoding sections to where the key components are specified. •Add acknowledgements for Filippo Valsorda and Zaki Manian. 2016.0-beta-1.112016-12-19 #2016.0-beta-1.11 •Specify a check on the order of𝜋 𝐵 in azk-SNARK proof. •Note that due to an oversight, theZcashgenesis blockdoes not follow [BIP-34]. 2016.0-beta-1.102016-10-30 #2016.0-beta-1.10 • Update reference to theEquihashpaper [BK2016]. (The newer version has no algorithmic changes, but the section discussing potential ASIC implementations is substantially expanded.) •Clarify the discussion of proof size in “Differences from theZerocashpaper” . 188 2016.0-beta-1.92016-10-28 #2016.0-beta-1.9 •AddFounders’ Rewardaddresses forMainnet. •Change “protected” terminology to “shielded” . 2016.0-beta-1.82016-10-04 #2016.0-beta-1.8 • Revise the lead bytes fortransparent P2SHandP2PKHaddresses, and reencode theTestnet Founders’ Reward addresses. •Add a section on which BIPs apply toZcash. •Specify that OP_CODESEPARATOR has been disabled, and no longer affectsSIGHASH transaction hashes. • Change the representation type of vpub_old and vpub_new to uint64. (This is not a consensus change be- cause the type of voldpub and vnewpub was already specified to be {0..MAX_MONEY} ; it just better reflects the implementation.) •Correct the representation type of theblock nVersion field to uint32. 2016.0-beta-1.72016-10-02 #2016.0-beta-1.7 • Clarify the consensus rule for payment of theFounders’ Reward, in response to an issue raised by the NCC audit. 2016.0-beta-1.62016-09-26 #2016.0-beta-1.6 • Fix an error in the definition of the sortedness condition forEquihash: it is the sequences of indices that are sorted, not the sequences of hashes. •Correct the number of bytes in the encoding of solutionSize. •Update the section on encoding oftransparent addresses. (The precise prefixes are not decided yet.) •Clarify whyBLAKE2b-ℓis different from truncatedBLAKE2b-512. •Clarify a note about SU-CMA security for signatures. •Add a note aboutPRF nfSprout corresponding toPRF sn inZerocash. •Add a paragraph about key length in §8.7 ‘In-band secret distribution’ on p.153. •Add acknowledgements for John Tromp, Paige Peterson, Maureen Walsh, Jay Graber, and Jack Gavigan. 2016.0-beta-1.52016-09-22 #2016.0-beta-1.5 •Update theFounders’ Rewardaddress list. •Add some clarifications based on Eli Ben-Sasson’s review. 2016.0-beta-1.42016-09-19 #2016.0-beta-1.4 •Specify theblock subsidy,miner subsidy, and theFounders’ Reward. •Specifycoinbase transactionoutputs toFounders’ Rewardaddresses. •Improve notation (for example “·” for multiplication and “𝑇 [ℓ]” for sequence types) to avoid ambiguity. 189 2016.0-beta-1.32016-09-16 #2016.0-beta-1.3 •Correct the omission of solutionSize from theblock headerformat. •Document that compactSize encodings must be canonical. •Add a note about conformance language in the introduction. • Add acknowledgements for Solar Designer, Ling Ren and Alison Stevenson, and for the NCC Group and Coinspect security audits. 2016.0-beta-1.22016-09-11 #2016.0-beta-1.2 •RemoveGeneralCRHin favour of specifyinghSigCRHandEquihashGendirectly in terms ofBLAKE2b-ℓ. •Correct the security requirement forEquihashGen. 2016.0-beta-1.12016-09-05 #2016.0-beta-1.1 •Add a specification of abstract signatures. •Clarify what is signed in the “Sending Notes” section. •Specify ZK parameter generation as a randomized algorithm, rather than as a distribution of parameters. 2016.0-beta-12016-09-04 #2016.0-beta-1 •Major reorganization to separate the abstract cryptographic protocol from the algorithm instantiations. •Add type declarations. •Add a “High-level Overview” section. • Add a section specifying thezero-knowledge proving systemand the encoding of proofs. Change the encoding of points in proofs to follow IEEE Std 1363[a]. •Add a section on consensus changes fromBitcoin, and the specification ofEquihash. •Complete the “Differences from theZerocashpaper” section. •Correct the Merkle tree depth to 29. •Change the length ofmemo fieldsto 512 bytes. •Switch theJoinSplit signaturescheme toEd25519, with consequent changes to the computation ofh Sig. • Fix the lead bytes inshielded payment addressandspending keyencodings to match the implemented protocol. •Add a consensus rule about the ranges ofv oldpub andv newpub . • Clarify cryptographic security requirements and added definitions relating to thein-bandsecret distribution. • Add various citations: the “Fixing Vulnerabilities in the Zcash Protocol” and “Why Equihash?” blog posts, several crypto papers for security definitions, theBitcoinwhitepaper, the CryptoNote whitepaper, and several references toBitcoindocumentation. •Reference the extended version of theZerocashpaper rather than the Oakland proceedings version. •AddJoinSplit transfersto the Concepts section. •Add a section on Coinbase Transactions. • Add acknowledgements for Jack Grigg, Simon Liu, Ariel Gabizon, jl777, Ben Blaxill, Alex Balducci, and Jake Tarren. •Fix a Makefile compatibility problem with the escaping behaviour of echo. 190 •Switch to biber for the bibliography generation, and add backreferences. •Make the date format in references more consistent. •Add visited dates to all URLs in references. •Terminology changes. 2016.0-alpha-3.12016-05-20 #2016.0-alpha-3.1 •Change main font to Quattrocento. 2016.0-alpha-32016-05-09 #2016.0-alpha-3 •Change version numbering convention (no other changes). 2.0-alpha-32016-05-06 #2.0-alpha-3 • Allow anchoring to any previous outputtreestatein the sametransaction, rather than just the immediately preceding outputtreestate. •Add change history. 2.0-alpha-22016-04-21 #2.0-alpha-2 •Change from truncatedBLAKE2b-512toBLAKE2b-256. •Clarify endianness, and that uses ofBLAKE2bare unkeyed. •Minor correction to whatSIGHASH typescover. •Add “as intended for theZcashrelease of summer 2016" to title page. •RequirePRF addr to becollision-resistant(see §8.8 ‘Omission in Zerocash Zerocash Zerocash Zerocashsecurity proof’ on p.154). •Add specification of path computation for theincremental Merkle tree. • Add a note in §4.18.1 ‘JoinSplit Statement (Sprout)’ on p. 63 about how this condition corresponds to condi- tions in theZerocashpaper. •Changes to terminology around keys. 2.0-alpha-12016-03-30 #2.0-alpha-1 •First version intended for public review. 191 11 References #references [ABR1999] Michel Abdalla, Mihir Bellare, and Phillip Rogaway.DHAES: An Encryption Scheme Based on the Diffie–Hellman Problem. Cryptology ePrint Archive: Report 1999/007. Received March 17, 1999. September 1998. URL: https://eprint.iacr.org/1999/007 (visited on 2016-08-21) (↑p 28, 153). [ADMA2015] Elena Andreeva, Joan Daemen, Bart Mennink, and Gilles Van Assche.Security of Keyed Sponge Constructions Using a Modular Proof Approach. Team Keccak web page, https : / / keccak . team / papers . html. URL: https : / / keccak . team / files / ModularKeyedSponge . pdf(visited on 2021-03-01). Originally published inFast Software Encryption - Proceeedings of the 22nd International Workshop (Istanbul, Turkey, March 8–11, 2015), pages 364–384; Springer, 2015. Note that the pre-proceedings version contained an oversight in the analysis of the outer-keyed sponge. (↑p90). [AGRRT2017] Martin Albrecht, Lorenzo Grassi, Christian Rechberger, Arnab Roy, and Tyge Tiessen.MiMC: Efficient Encryption and Cryptographic Hashing with Minimal Multiplicative Complexity. Cryp- tology ePrint Archive: Report 2016/492. Received May 21, 2016. January 5, 2017. URL: https: //eprint.iacr.org/2016/492(visited on 2018-01-12) (↑p223). [AKLGL2010] Diego Aranha, Koray Karabina, Patrick Longa, Catherine Gebotys, and Julio López.Faster Explicit Formulas for Computing Pairings over Ordinary Curves. Cryptology ePrint Archive: Report 2010/526. Last revised September 12, 2011. URL: https://eprint.iacr.org/2010/526 (visited on 2018-04-03) (↑p102, 183). [ANWW2013] Jean-Philippe Aumasson, Samuel Neves, Zooko Wilcox, and Christian Winnerlein.BLAKE2: simpler, smaller, fast as MD5. January 29, 2013. URL: https : / / blake2 . net / #sp(visited on 2016-08-14) (↑p79, 221). [AR2017] Leo Alcock and Ling Ren. “A Note on the Security of Equihash”. In:CCSW ’17. Proceedings of the 2017 Cloud Computing Security Workshop (Dallas, TX, USA, November 3, 2017); post-workshop of the 2017 ACM SIGSAC Conference on Computer and Communications Security. ACM. URL: https://sci-hubtw.hkvisa.net/10.1145/3140649.3140652 (visited on 2021-04-05) (↑p 139, 177). [BBDP2001] Mihir Bellare, Alexandra Boldyreva, Anand Desai, and David Pointcheval.Key-Privacy in Public- Key Encryption. September 2001. URL: https://cseweb.ucsd.edu/~mihir/papers/anonenc. pdf(visited on 2021-09-01). Full version. (↑p29, 81, 153, 164, 179). [BBJLP2008] Daniel Bernstein, Peter Birkner, Marc Joye, Tanja Lange, and Christiane Peters.Twisted Edwards Curves. Cryptology ePrint Archive: Report 2008/013. Received January 8, 2008. March 13, 2008. URL:https://eprint.iacr.org/2008/013(visited on 2018-01-12) (↑p213, 214). [BCCGLRT2014] Nir Bitansky, Ran Canetti, Alessandro Chiesa, Shafi Goldwasser, Huijia Lin, Aviad Rubinstein, and Eran Tromer.The Hunting of the SNARK. Cryptology ePrint Archive: Report 2014/580. Received July 24, 2014. URL:https://eprint.iacr.org/2014/580(visited on 2020-08-01) (↑p36, 173). [BCD+2020] Tim Beyne, Anne Canteaut, Itai Dinur, Maria Eichlseder, Gregor Leander, Gaëtan Leurent, María Naya-Plasencia, Léo Perrin, Yu Sasaki, Yosuke Todo, and Friedrich Wiemer.Out of Oddity — New Cryptanalytic Techniques against Symmetric Primitives Optimized for Integrity Proof Systems. Cryptology ePrint Archive: Report 2020/188. Last revised November 11, 2020. URL: https://eprint.iacr.org/2020/188 (visited on 2021-03-01). Originally published (with major differences) inAdvances in Cryptology - CRYPTO 2020, Vol. 12172 pages 299–328; Lecture Notes in Computer Science; Springer, 2020. (↑p88). [BCGGMTV2014] Eli Ben-Sasson, Alessandro Chiesa, Christina Garman, Matthew Green, Ian Miers, Eran Tromer, and Madars Virza.Zerocash: Decentralized Anonymous Payments from Bitcoin (extended ver- sion). Cryptology ePrint Archive: Report 2014/349. Received May 19, 2014. URL: https://eprint. iacr.org/2014/349 (visited on 2021-04-05). A condensed version appeared inProceedings of the IEEE Symposium on Security and Privacy (Oakland) 2014, pages 459–474; IEEE, 2014. (↑p 8, 9, 11, 25, 27, 54, 63, 70, 149, 151, 152, 154). 192 [BCGTV2013] Eli Ben-Sasson, Alessandro Chiesa, Daniel Genkin, Eran Tromer, and Madars Virza.SNARKs for C: Verifying Program Executions Succinctly and in Zero Knowledge. Cryptology ePrint Archive: Report 2013/507. Last revised October 7, 2013. URL:https://eprint.iacr.org/2013/507 (vis- ited on 2016-08-31). An earlier version appeared inProceedings of the 33rd Annual International Cryptology Conference, CRYPTO 2013, pages 90–108; IACR, 2013. (↑p113). [BCIMRT2010] Eric Brier, Jean-Sébastien Coron, Thomas Icart, David Madore, Hugues Randriam, and Mehdi Tibouchi. “Efficient Indifferentiable Hashing into Ordinary Elliptic Curves”. In:Advances in Cryptology - CRYPTO 2010. Proceedings of the 30th Annual International Cryptology Conference (Santa Barbara, California, USA, August 15–19, 2010). Ed. by Tal Rabin. Vol. 6223. Lecture Notes in Computer Science. Springer, 2010, pages 237–254. ISBN: 978-3-642-14623-7. DOI: 10.1007/978- 3-642-14623-7_13 . URL: https://www.iacr.org/archive/crypto2010/62230238/62230238. pdf(visited on 2021-01-27) (↑p110). [BCP1988] Jurgen Bos, David Chaum, and George Purdy. “A Voting Scheme”. Unpublished. Presented at the rump session of CRYPTO ’88 (Santa Barbara, California, USA, August 21–25, 1988); does not appear in the proceedings. (↑p82). [BCTV2014a] Eli Ben-Sasson, Alessandro Chiesa, Eran Tromer, and Madars Virza.Succinct Non-Interactive Zero Knowledge for a von Neumann Architecture. Cryptology ePrint Archive: Report 2013/879. Last revised February 5, 2019. URL: https://eprint.iacr.org/2013/879 (visited on 2019-02- 08) (↑p113, 114, 178, 207). [BCTV2014a-old] Eli Ben-Sasson, Alessandro Chiesa, Eran Tromer, and Madars Virza.Succinct Non-Interactive Zero Knowledge for a von Neumann Architecture (May 19, 2015 version). Cryptology ePrint Archive: Report 2013/879. Version: 20150519:172604. URL: https://eprint.iacr.org/2013/ 879/20150519:172604(visited on 2019-02-08) (↑p113). [BCTV2014b] Eli Ben-Sasson, Alessandro Chiesa, Eran Tromer, and Madars Virza. “Scalable Zero Knowledge via Cycles of Elliptic Curves (extended version)”. In:Advances in Cryptology - CRYPTO 2014. Vol. 8617. Lecture Notes in Computer Science. Springer, 2014, pages 276–294. URL: https://www. cs.tau.ac.il/~tromer/papers/scalablezk- 20140803.pdf (visited on 2016-09-01) (↑p 37, 178). [BDEHR2011] Johannes Buchmann, Erik Dahmen, Sarah Ereth, Andreas Hülsing, and Markus Rückert.On the Security of the Winternitz One-Time Signature Scheme (full version). Cryptology ePrint Archive: Report 2011/191. Received April 13, 2011. URL: https://eprint.iacr.org/2011/191 (visited on 2016-09-05) (↑p30). [BDJR2000] Mihir Bellare, Anand Desai, Eric Jokipii, and Phillip Rogaway.A Concrete Security Treatment of Symmetric Encryption: Analysis of the DES
프로젝트로 돌아가기