Appendix A
Appendix A.1. Dilithium-2
We conducted an analysis to compare the performance of Dilithium-2 in a blockchain network with and without block modularity, focusing on efficiency and transaction capacity. We represented the results using a line graph shown in
Figure A1 to show the overall time and a bar graph shown in
Figure A2 to represent the throughput. Also, our comparison data is provided in
Table A2.
In the line graph, the horizontal axis represents the number of voters and the vertical axis represents the time. For throughput, the horizontal axis represents the time and the vertical axis represents the number of voters.
Figure A1.
Performance of Dilithium-2 with block modularity (dark red line) vs. without block modularity (sky-blue line). The horizontal axis represents the number of voters, and the vertical axis represents the time. Block modularity improves the performance of Dilithium-2, especially as the number of voters increases.
Figure A1.
Performance of Dilithium-2 with block modularity (dark red line) vs. without block modularity (sky-blue line). The horizontal axis represents the number of voters, and the vertical axis represents the time. Block modularity improves the performance of Dilithium-2, especially as the number of voters increases.
In
Figure A1, the sky-blue line represents Dilithium-2 without block modularity and the dark red line represents Dilithium-2 with block modularity. In terms of throughput shown in
Figure A2, the green line represents Dilithium-2 without block modularity and the sky-blue line represents Dilithium-2 with block modularity.
For Dilithium-2 with and without block modularity, the sky-blue line and red line remain the same in
Figure A1 for generating a single block for a single voter. However, as the number of voters increases, the time taken to generate blocks also increases. Interestingly, the red line remains lower than the sky-blue line, which means that Dilithium-2 with block modularity takes less time to generate blocks than Dilithium-2 without block modularity when the number of voters increases.
As a result, we can say that Dilithium-2 with block modularity is faster than Dilithium-2 without block modularity. This is because it can perform computations in parallel, which reduces the overall time required. It is also more efficient in terms of memory usage, which further reduces the time required.
Figure A2.
Throughput of Dilithium-2 with block modularity vs. without block modularity. The horizontal axis represents the number of voters, and the vertical axis represents the throughput in transaction per second (tps). Block modularity improves throughput, especially with the high number of voters.
Figure A2.
Throughput of Dilithium-2 with block modularity vs. without block modularity. The horizontal axis represents the number of voters, and the vertical axis represents the throughput in transaction per second (tps). Block modularity improves throughput, especially with the high number of voters.
In terms of throughput shown in
Figure A2, Dilithium-2 with block modularity also shows overall better performance than Dilithium-2 without block modularity. Although Dilithium-2 without block modularity performs slightly better before 100 voters, Dilithium-2 with block modularity performs well at peak, giving approximately the same throughput of 1 tps.
In conclusion, Dilithium-2 with block modularity overall performs better than Dilithium-2 without block modularity.
Appendix A.2. Dilithium-3
We also analyzed to compare the performance of Dilithium-3 in a blockchain network with and without block modularity, focusing on efficiency and transaction capacity. We represented the results using a line graph shown in
Figure A3 to show the overall time and a bar graph shown in
Figure A4 to represent the throughput. Additionally, comparison data is shown in
Table A3.
In the line graph, the horizontal axis represents the number of voters and the vertical axis represents the time. For throughput, the horizontal axis represents the time and the vertical axis represents the number of voters.
In
Figure A3, the violet line represents Dilithium-3 with block modularity and the maroon line represents Dilithium-3 without block modularity. In
Figure A4, the sky blue line represents Dilithium-3 with block modularity and the green line represents Dilithium-3 without block modularity.
For Dilithium-3 with and without block modularity, the dilithium-3 without block modularity (violet line) and dilithium-3 with block modularity (chocolate colored line) remain the same in
Figure A3 for generating a single block. However, as the number of voters increases, the time taken to generate blocks also increases. Interestingly, the maroon line remains lower than the violet line, which means that Dilithium-3 with block modularity takes less time to generate blocks than Dilithium-3 without block modularity when the number of voters increases.
Figure A3.
Performance of Dilithium-3 with block modularity (violet line) vs. without block modularity (maroon line). The horizontal axis represents the number of voters, and the vertical axis represents the time. Block modularity improves performance, especially with the high number of voters, because it can perform computations in parallel and is more efficient in terms of memory usage.
Figure A3.
Performance of Dilithium-3 with block modularity (violet line) vs. without block modularity (maroon line). The horizontal axis represents the number of voters, and the vertical axis represents the time. Block modularity improves performance, especially with the high number of voters, because it can perform computations in parallel and is more efficient in terms of memory usage.
As a result, we can say that Dilithium-3 with block modularity is faster than Dilithium-3 without block modularity. This is because it can perform computations in parallel, which reduces the overall time required. It is also more efficient in terms of memory usage, which further reduces the time required. As a result, Dilithium-3 with block modularity is typically much faster and more efficient than Dilithium-3 without block modularity.
Figure A4.
The bar graph shows the throughput of Dilithium-3 with and without block modularity in a blockchain network. The vertical axis represents the number of voters, and the horizontal axis represents time. The bar graph shows that Dilithium-3 with block modularity (sky-blue line) has a higher throughput than Dilithium-3 without block modularity (green line), especially when the number of voters is high. Throughput is measured in blocks per second (bps). This is because block modularity allows Dilithium-3 to process more transactions per second.
Figure A4.
The bar graph shows the throughput of Dilithium-3 with and without block modularity in a blockchain network. The vertical axis represents the number of voters, and the horizontal axis represents time. The bar graph shows that Dilithium-3 with block modularity (sky-blue line) has a higher throughput than Dilithium-3 without block modularity (green line), especially when the number of voters is high. Throughput is measured in blocks per second (bps). This is because block modularity allows Dilithium-3 to process more transactions per second.
In terms of throughput shown in
Figure A4, Dilithium-3 with block modularity also shows overall better performance than Dilithium-3 without block modularity. Although Dilithium-3 performs slightly better before 200 voters, Dilithium-3 with block modularity performs better at peak, giving approximately the same throughput of 2 bps.
In conclusion, Dilithium-3 with block modularity overall performs better than Dilithium-3 without block modularity.
Appendix A.3. Block Modularity vs. Dilithium-2 with Block Modularity
Here, we compare block modularity and Dilithium-2 with block modularity.
The line graph
Figure A5 shows the time it takes to generate a block, with the number of voters on the horizontal axis and the time in seconds on the vertical axis. The blue line represents block modularity with Dilithium-2, and the green line represents block modularity alone.
Figure A5.
Comparison block generation time of block modularity and Dilithium-2 with block modularity. The blue line represents block modularity with Dilithium-2, and the green line represents block modularity alone. The number of voters is on the horizontal axis, and the time in seconds to generate a block is on the vertical axis. In conclusion, block modularity shows better performance than Dilithium-2 with block modularity.
Figure A5.
Comparison block generation time of block modularity and Dilithium-2 with block modularity. The blue line represents block modularity with Dilithium-2, and the green line represents block modularity alone. The number of voters is on the horizontal axis, and the time in seconds to generate a block is on the vertical axis. In conclusion, block modularity shows better performance than Dilithium-2 with block modularity.
Initially, the block generation time is almost the same for both configurations. However, after 1000 voters, the block generation time for Dilithium-2 with block modularity is slightly higher than the block generation time for block modularity alone.
This is because Dilithium-2 is a more secure cryptographic algorithm than the general elliptic curve algorithm. As a result, it takes slightly longer to generate blocks using Dilithium-2.
Overall, block modularity shows better performance than Dilithium-2 with block modularity.This is because block modularity systems separate all data by category. When new data arrives, it does not duplicate the existing data. Instead, it only updates the new data. This results in slightly faster block generation times and higher throughput.
In addition, block modularity can reduce bandwidth usage by up to 70 percent, storage usage by up to 60 percent, and data usage by up to 40 percent.
In terms of throughput shown in
Figure A6, the green line represents block modularity and the sky-blue line represents Dilithium-2 with block modularity. The bar graph shows that Dilithium-2 with block modularity initially has better throughput than block modularity. However, at their peak, they both have the same throughput.
In conclusion, merging Dilithium-2 with block modularity provides extra security at the cost of slightly slower block generation times and throughput.
Figure A6.
Block Modularity vs. Dilithium-2 with Block Modularity Throughput. This bar graph compares the throughput of block modularity and Dilithium-2 with block modularity. The x-axis shows the number of voters, and the y-axis shows the time. The blue bars represent block modularity with Dilithium-2, and the green bars represent block modularity alone. Block modularity initially has better throughput than Dilithium-2 with block modularity. However, at their peak, they both have the same throughput.
Figure A6.
Block Modularity vs. Dilithium-2 with Block Modularity Throughput. This bar graph compares the throughput of block modularity and Dilithium-2 with block modularity. The x-axis shows the number of voters, and the y-axis shows the time. The blue bars represent block modularity with Dilithium-2, and the green bars represent block modularity alone. Block modularity initially has better throughput than Dilithium-2 with block modularity. However, at their peak, they both have the same throughput.
Appendix A.4. Without Block Modularity vs. Dilithium-2 without Block Modularity
We compare Dilithium-2 without block modularity and without block modularity.
The line graph
Figure A7 shows the time it takes to generate a block, with the number of voters on the horizontal axis and the time in seconds on the vertical axis. The green line represents Dilithium-2 without block modularity, and the blue line represents without block modularity.
Figure A7.
Comparison block generation time of Dilithium-2 without block modularity and without block modularity. The green line represents Dilithium-2 without block modularity, and the blue line represents without block modularity. The number of voters is on the horizontal axis, and the time in seconds to generate a block is on the vertical axis. The block generation time is almost the same for both configurations.
Figure A7.
Comparison block generation time of Dilithium-2 without block modularity and without block modularity. The green line represents Dilithium-2 without block modularity, and the blue line represents without block modularity. The number of voters is on the horizontal axis, and the time in seconds to generate a block is on the vertical axis. The block generation time is almost the same for both configurations.
The line graph shows that the block generation time is almost the same for both configurations. This is because both configurations do not use block modularity. However, using Dilithium-2 without block modularity took slightly longer.
In terms of throughput shown in
Figure A8, the sky-blue line represents Dilithium-2 without block modularity and the green line represents without block modularity. The bar graph shows that Dilithium-2 without block modularity initially has better throughput than without block modularity. However, at their peak, they both have the same throughput.
Figure A8.
Comparison of the throughput of Dilithium-2 without block modularity and without block modularity. The sky-blue line represents Dilithium-2 without block modularity, and the green line represents without block modularity. The number of voters is on the horizontal axis and the number of blocks generated per second is on the vertical axis. Dilithium-2 without block modularity initially has better throughput than without block modularity. However, at their peak, they both have the same throughput.
Figure A8.
Comparison of the throughput of Dilithium-2 without block modularity and without block modularity. The sky-blue line represents Dilithium-2 without block modularity, and the green line represents without block modularity. The number of voters is on the horizontal axis and the number of blocks generated per second is on the vertical axis. Dilithium-2 without block modularity initially has better throughput than without block modularity. However, at their peak, they both have the same throughput.
In conclusion, merging Dilithium-2 without block modularity provides extra security with almost no impact on block generation and throughput.
Appendix A.5. Block Modularity vs. Dilithium-3 with Block Modularity
Block modularity and Dilithium-3 with block modularity are two blockchain designs that offer different trade-offs between performance and security.
Block modularity is a blockchain design that separates all data into categories. When new data arrives, it does not duplicate the existing data. Instead, it only updates the new data. This results in slightly faster block generation times and higher throughput. In addition, block modularity can reduce bandwidth usage by up to 70 percent, storage usage by up to 60 percent, and data usage by up to 40 percent.
Dilithium-3 with block modularity is a blockchain design that uses the Dilithium-3 cryptographic algorithm to improve the security of block modularity. Dilithium-3 is considered to be one of the most secure cryptographic algorithms available today. However, it is also more computationally expensive than other cryptographic algorithms, which can lead to slower block generation times.
The line graph in
Figure A9 shows the time it takes to generate a block, with the number of voters on the horizontal axis and the time in seconds on the vertical axis. The blue line represents block modularity with Dilithium-3, and the green line represents block modularity alone.
Initially, the block generation time is almost the same for both configurations. However, after a certain number of voters, the block generation time for Dilithium-3 with block modularity is slightly lower than the block generation time for block modularity alone.
Dilithium-3 with block modularity offers better security than block modularity alone. This is because Dilithium-3 is a more secure cryptographic algorithm. Dilithium-3 is considered to be one of the most secure cryptographic algorithms available today and can protect against quantum computers.
In terms of throughput, the bar graph in
Figure A10 compares the throughput of block modularity and Dilithium-3 with block modularity. The x-axis shows the number of voters, and the y-axis shows the time. The blue bars represent block modularity with Dilithium-3, and the green bars represent block modularity alone.
Figure A9.
Comparison of the block generation time of block modularity and Dilithium-3 with block modularity. The blue line represents block modularity with Dilithium-3, and the green line represents block modularity alone. The number of voters is on the horizontal axis, and the time in seconds to generate a block is on the vertical axis. Dilithium-3 with block modularity offers faster block generation times than block modularity alone.
Figure A9.
Comparison of the block generation time of block modularity and Dilithium-3 with block modularity. The blue line represents block modularity with Dilithium-3, and the green line represents block modularity alone. The number of voters is on the horizontal axis, and the time in seconds to generate a block is on the vertical axis. Dilithium-3 with block modularity offers faster block generation times than block modularity alone.
Block modularity initially has better throughput than Dilithium-3 with block modularity. However, at their peak, they both have the same throughput.
Figure A10.
Comparison of the throughput of block modularity and Dilithium-3 with block modularity. The blue bars represent block modularity with Dilithium-3, and the green bars represent block modularity alone. The number of voters is on the horizontal axis and time is on the vertical axis. Block modularity initially has better throughput than Dilithium-3 with block modularity. However, at their peak, they both have the same throughput.
Figure A10.
Comparison of the throughput of block modularity and Dilithium-3 with block modularity. The blue bars represent block modularity with Dilithium-3, and the green bars represent block modularity alone. The number of voters is on the horizontal axis and time is on the vertical axis. Block modularity initially has better throughput than Dilithium-3 with block modularity. However, at their peak, they both have the same throughput.
In conclusion, block modularity and Dilithium-3 with block modularity are two blockchain designs that offer different trade-offs between performance and security. Block modularity offers slightly faster block generation times and higher throughput, while Dilithium-3 with block modularity offers better security. The best choice for a particular blockchain application will depend on the specific requirements of that application.
Appendix A.6. Without Block Modularity vs. Dilithium-3 without Block Modularity
We compare Dilithium-3 without block modularity and without block modularity.
The line graph in
Figure A11 shows the time it takes to generate a block, with the number of voters on the horizontal axis and the time in seconds on the vertical axis. The green line represents Dilithium-3 without block modularity, and the blue line represents without block modularity.
Figure A11.
Block Generation Time Comparison of Dilithium-3 without Block Modularity and Without Block Modularity. The green line represents Dilithium-3 without block modularity, and the blue line represents without block modularity. The number of voters is on the horizontal axis and the time in seconds is on the vertical axis. Dilithium-3 without block modularity took less time to generate a block.
Figure A11.
Block Generation Time Comparison of Dilithium-3 without Block Modularity and Without Block Modularity. The green line represents Dilithium-3 without block modularity, and the blue line represents without block modularity. The number of voters is on the horizontal axis and the time in seconds is on the vertical axis. Dilithium-3 without block modularity took less time to generate a block.
The line graph shows that the initial block generation time is almost the same for both configurations. However, after 1000 voters, Dilithium-3 without block modularity took a lower time than without block modularity. This is strange because Dilithium-3 is a more computationally expensive cryptographic algorithm than the one used without block modularity.
In terms of throughput, the bar graph in
Figure A12 shows that without block modularity initially has better throughput than Dilithium-3 without block modularity. However, at their peak, they both have the same throughput.
Figure A12.
Throughput Comparison of Dilithium-3 without Block Modularity and Without Block Modularity. The blue-sky bars represent without block modularity with Dilithium-3, and the green bars represent without block modularity alone. The number of voters is on the horizontal axis and the time is on the vertical axis. The bar graph shows that without block modularity initially has better throughput than Dilithium-3 without block modularity. However, at their peak, they both have the same throughput.
Figure A12.
Throughput Comparison of Dilithium-3 without Block Modularity and Without Block Modularity. The blue-sky bars represent without block modularity with Dilithium-3, and the green bars represent without block modularity alone. The number of voters is on the horizontal axis and the time is on the vertical axis. The bar graph shows that without block modularity initially has better throughput than Dilithium-3 without block modularity. However, at their peak, they both have the same throughput.
In conclusion, merging Dilithium-3 without block modularity provides extra security and slightly faster block generation time. However, it also has slightly lower throughput than without block modularity at lower voter counts.
Appendix A.7. Dilithium-2 vs. Dilithium-3
In comparison to Dilithium-2 without block modularity, Dilithium-3 without block modularity demonstrates improved performance. The comparison data is shown in
Table A4 and
Table A5.
The line graph in
Figure A13 shows that Dilithium-3 without block modularity (olive line) achieves faster transaction processing than Dilithium-2 without block modularity (violet line). The time required to generate 3000 blocks is approximately 1602.457 s in Dilithium-3, whereas Dilithium-2 takes around 2505.086 s.
Figure A13.
Performance Comparison of Dilithium-3 without block modularity and Dilithium-2 without block modularity. The olive-colored line represents Dilithium-3 without block modularity, and the violet line represents Dilithium-2 without block modularity. The horizontal axis represents the number of blocks generated, and the vertical axis represents the time in seconds. In conclusion, Dilithium-3 without block modularity gave better performance than Dilithium-2 without block modularity.
Figure A13.
Performance Comparison of Dilithium-3 without block modularity and Dilithium-2 without block modularity. The olive-colored line represents Dilithium-3 without block modularity, and the violet line represents Dilithium-2 without block modularity. The horizontal axis represents the number of blocks generated, and the vertical axis represents the time in seconds. In conclusion, Dilithium-3 without block modularity gave better performance than Dilithium-2 without block modularity.
Regarding throughput, the bar graph
Figure A14 shows that Dilithium-3 without block modularity (sky-blue line) performs slightly better than Dilithium-2 without block modularity (green line). The throughput for the first voter is the same for both, at 66 bps. However, Dilithium-3 without block modularity achieves a slightly better throughput after the 100th voter, peaking at 1.8 bps, while Dilithium-2 without block modularity peaks at 1.19 bps.
Figure A14.
Comparing the performance of Dilithium-3 and Dilithium-2 without block modularity in terms of throughput. In the bar graph, the horizontal axis represents the time, and the vertical axis represents the voter. Additionally, the sky-blue line represents Dilithium-3 without block modularity and the green line represents Dilithium-2 without block modularity. In conclusion, Dilithium-3 without block modularity performs slightly better than Dilithium-2 without block modularity.
Figure A14.
Comparing the performance of Dilithium-3 and Dilithium-2 without block modularity in terms of throughput. In the bar graph, the horizontal axis represents the time, and the vertical axis represents the voter. Additionally, the sky-blue line represents Dilithium-3 without block modularity and the green line represents Dilithium-2 without block modularity. In conclusion, Dilithium-3 without block modularity performs slightly better than Dilithium-2 without block modularity.
In summary, Dilithium-3 without block modularity achieves faster transaction processing and higher security compared to Dilithium-2 without block modularity.
These findings emphasize the advantages of Dilithium-3, indicating its superior efficiency and higher security in the blockchain network. It is faster, more efficient, has higher throughput, and is more secure. It is also future-proofed against quantum computers.
Dilithium-3 with block modularity demonstrates improved performance over Dilithium-2 with block modularity.
The line graph
Figure A15 shows that Dilithium-3 with block modularity (green line) achieves faster transaction processing than Dilithium-2 with block modularity (sky-blue line). Dilithium-3 takes approximately 1247 s to generate 3000 blocks, while Dilithium-2 takes around 1486 s.
Figure A15.
Performance comparison of Dilithium-3 with block modularity and Dilithium-2 with block modularity. The green line represents Dilithium-3 with block modularity, and the sky-blue line represents Dilithium-2 with block modularity. The horizontal axis represents the number of blocks generated, and the vertical axis represents the time in seconds. Here, Dilithium-3 with block modularity is faster than Dilithium-2 with block modularity.
Figure A15.
Performance comparison of Dilithium-3 with block modularity and Dilithium-2 with block modularity. The green line represents Dilithium-3 with block modularity, and the sky-blue line represents Dilithium-2 with block modularity. The horizontal axis represents the number of blocks generated, and the vertical axis represents the time in seconds. Here, Dilithium-3 with block modularity is faster than Dilithium-2 with block modularity.
Regarding throughput, the bar graph
Figure A16 shows that Dilithium-3 with block modularity (green line) performs slightly better than Dilithium-2 with block modularity (sky-blue line). The throughput for the first voter is the same for both, at 66 bits per second (bps). However, Dilithium-3 with block modularity achieves a slightly better throughput after the 100th voter, peaking at 2.4 bps, while Dilithium-2 with block modularity peaks at 2 bps.
Figure A16.
Comparing the throughput of Dilithium-3 with block modularity and Dilithium-2 with block modularity over time. The graph shows the voter on the vertical axis and time on the horizontal axis. The green line represents Dilithium-3 with block modularity, and the sky-blue line represents Dilithium-2 with block modularity. Dilithium-3 with block modularity performs better than Dilithium-2 with block modularity in terms of throughput.
Figure A16.
Comparing the throughput of Dilithium-3 with block modularity and Dilithium-2 with block modularity over time. The graph shows the voter on the vertical axis and time on the horizontal axis. The green line represents Dilithium-3 with block modularity, and the sky-blue line represents Dilithium-2 with block modularity. Dilithium-3 with block modularity performs better than Dilithium-2 with block modularity in terms of throughput.
In summary, Dilithium-3 with block modularity is a more secure, efficient, and easier-to-implement signature scheme than Dilithium-2 with block modularity. It has security proof against quantum attacks up to NIST security level 5, while Dilithium-2 has security proof up to NIST security level 3. It is also more efficient in terms of both public key size and signature size, and it is more resilient to errors. Finally, it is easier to implement than Dilithium-2.
In short, Dilithium-3 with block modularity is the better choice for applications that require strong security against quantum attacks.
These findings emphasize the advantages of Dilithium-3, indicating its superior efficiency and higher security in blockchain networks. It is faster, more efficient, has higher throughput, and is more secure. It is also future-proofed against quantum computers.
Appendix A.8. Sharding vs. Dilithium-2
Dilithium-2 with block modularity emphasizes cryptographic security. It is designed to protect data from attacks and ensure data integrity. The focus is on optimizing the efficiency of signature generation and verification processes. Its security strength is measured by its public key length, which offers a level of security up to NIST security level 3. The architecture is simple, making it easier to implement and manage. However, its scalability may be limited, which can hinder performance in scenarios with rapid growth and increased workloads.
Sharding with two shards emphasizes performance and scalability. By splitting data into two shards, it allows for parallel processing and faster data access. The goal is to improve system performance, especially in scenarios where numerous transactions need to be processed simultaneously. While sharding with two shards offers performance benefits, it may require more complex management due to challenges with data distribution and load balancing. Additionally, the approach does not inherently address cryptographic security concerns.
Figure A17.
Time to generate a block for different numbers of voters using Dilithium-2 with block modularity (orange line) and sharding with two shards (sky-blue line). The horizontal axis represents the number of voters, and the vertical axis represents the time in milliseconds. Sharding with two shards consistently outperforms Dilithium-2 with block modularity, especially for large numbers of voters.
Figure A17.
Time to generate a block for different numbers of voters using Dilithium-2 with block modularity (orange line) and sharding with two shards (sky-blue line). The horizontal axis represents the number of voters, and the vertical axis represents the time in milliseconds. Sharding with two shards consistently outperforms Dilithium-2 with block modularity, especially for large numbers of voters.
The line graph shown in
Figure A17 illustrates the time it takes to generate a block for different numbers of voters. The orange line represents Dilithium-2 with block modularity, and the sky-blue line represents sharding with two shards. As observed, sharding with two shards consistently outperforms Dilithium-2 with block modularity, especially for large numbers of voters. The comparison data is shown in
Table A7 and
Table A8.
The bar graph shown in
Figure A18 compares the throughput of the two approaches for different numbers of voters. The green line represents sharding, and the sky-blue line represents Dilithium-2 with block modularity. Again, sharding outperforms Dilithium-2 with block modularity, especially for large numbers of voters.
In conclusion, the graphs (
Figure A17) and (
Figure A18) show that sharding with two shards provides better performance than Dilithium-2 with block modularity for both block generation and throughput. This is because sharding allows for parallel processing and faster data access. While sharding with two shards may require more complex management, it is a better choice for blockchain networks that need to scale to large numbers of users and transactions.
Figure A18.
Throughput comparison of sharding with two shards and Dilithium-2 with block modularity for different numbers of voters. The vertical axis represents the number of voters, and the horizontal axis represents the time in seconds. Sharding consistently outperforms Dilithium-2 with block modularity, especially for large numbers of voters. This suggests that sharding is a better choice for blockchain networks that need to scale to large numbers of users and transactions.
Figure A18.
Throughput comparison of sharding with two shards and Dilithium-2 with block modularity for different numbers of voters. The vertical axis represents the number of voters, and the horizontal axis represents the time in seconds. Sharding consistently outperforms Dilithium-2 with block modularity, especially for large numbers of voters. This suggests that sharding is a better choice for blockchain networks that need to scale to large numbers of users and transactions.
Dilithium-2 without block modularity is a cryptographic signature scheme that emphasizes performance. It is designed to be fast and efficient while still providing a high level of security. Its security level is up to NIST security level 3. The architecture is simple, making it easier to implement and manage. However, it may not be as secure as other signature schemes that use block modularity.
Sharding with two shards emphasizes scalability. By splitting data into two shards, it allows for parallel processing and faster data access. The goal is to improve system performance, especially in scenarios where many transactions need to be processed simultaneously. While sharding with two shards offers performance benefits, it may require more complex management due to challenges with data distribution and load balancing.
The line graph shown in
Figure A19 illustrates the time it takes to generate a block for different numbers of voters. The red line represents Dilithium-2 without block modularity, and the green line represents sharding with two shards. Initially, both approaches take the same amount of time, but after 1000 voters, sharding with two shards consistently outperforms Dilithium-2 without block modularity, especially for large numbers of voters. The comparison data is shown in
Table A8.
The bar graph shown in
Figure A20 illustrates the throughput of the two approaches for different numbers of voters. The green line represents sharding, and the sky-blue line represents Dilithium-2 without block modularity. Again, sharding outperforms Dilithium-2 without block modularity, especially for large numbers of voters.
In conclusion, the graphs (
Figure A19) and (
Figure A20) show that sharding with two shards provides better performance than Dilithium-2 without block modularity for both block generation and throughput. This is because sharding allows for parallel processing and faster data access. While sharding with two shards may require more complex management, it is a better choice for blockchain networks that need to scale to large numbers of users and transactions.
Figure A19.
Time to generate a block for different numbers of voters, comparing Dilithium-2 without block modularity and sharding with two shards. The x-axis represents the number of voters, and the y-axis represents the time in seconds. The red line represents Dilithium-2 without block modularity, and the green line represents sharding with two shards. Sharding with two shards consistently outperforms Dilithium-2 without block modularity.
Figure A19.
Time to generate a block for different numbers of voters, comparing Dilithium-2 without block modularity and sharding with two shards. The x-axis represents the number of voters, and the y-axis represents the time in seconds. The red line represents Dilithium-2 without block modularity, and the green line represents sharding with two shards. Sharding with two shards consistently outperforms Dilithium-2 without block modularity.
Figure A20.
Throughput of Dilithium-2 without block modularity and sharding with two shards. The bar graph shows the throughput of Dilithium-2 without block modularity and sharding with two shards. The horizontal axis represents time, and the vertical axis represents time. These results demonstrate the significant throughput improvements achieved through sharding.
Figure A20.
Throughput of Dilithium-2 without block modularity and sharding with two shards. The bar graph shows the throughput of Dilithium-2 without block modularity and sharding with two shards. The horizontal axis represents time, and the vertical axis represents time. These results demonstrate the significant throughput improvements achieved through sharding.
Appendix A.9. Sharding vs. Dilithium-3
Dilithium-3 with block modularity is a cryptographic signature scheme that emphasizes security. It is designed to protect data from attacks and ensure data integrity. The focus is on optimizing the efficiency of signature generation and verification processes. Its security strength is measured by its public key length, which offers a level of security up to NIST security level 4. The architecture is simple, making it easier to implement and manage. However, its scalability may be limited, which can hinder performance in scenarios with rapid growth and increased workloads.
Sharding with two shards emphasizes performance and scalability. By splitting data into two shards, it allows for parallel processing and faster data access. The goal is to improve system performance, especially in scenarios where numerous transactions need to be processed simultaneously. While sharding with two shards offers performance benefits, it may require more complex management due to challenges with data distribution and load balancing. Additionally, the approach does not inherently address cryptographic security concerns.
The line graph shown in
Figure A21 illustrates the time it takes to generate a block for different numbers of voters. The violet line represents Dilithium-3 with block modularity, and the green line represents sharding with two shards. Initially, both the violet and green lines stayed almost the same, but when the number of voters increased, the violet line went higher than the green line. This means the green line (sharding) performed better than the violet line (Dilithium-3 with block modularity). The comparison data is shown in
Table A9 and
Table A10.
The bar graph shown in
Figure A22 illustrates the throughput of the two approaches for different numbers of voters. The green line represents sharding, and the sky-blue line represents Dilithium-3 with block modularity. Again, sharding outperforms Dilithium-3 with block modularity, especially for large numbers of voters.
Figure A21.
Block generation time for Dilithium-3 with block modularity and sharding with two shards. The horizontal axis represents the number of voters, and the vertical axis represents the time in seconds. Here, sharding with two shards gave better performance than Dilithium-3 with block modularity.
Figure A21.
Block generation time for Dilithium-3 with block modularity and sharding with two shards. The horizontal axis represents the number of voters, and the vertical axis represents the time in seconds. Here, sharding with two shards gave better performance than Dilithium-3 with block modularity.
Figure A22.
Throughput of Dilithium-3 with block modularity and sharding with two shards. The horizontal axis represents the time, the vertical axis represents voters, and the green line represents sharding, and the sky-blue line represents Dilithium-3 with block modularity. Here, sharding with two shards gave better performance than Dilithium-3 with block modularity.
Figure A22.
Throughput of Dilithium-3 with block modularity and sharding with two shards. The horizontal axis represents the time, the vertical axis represents voters, and the green line represents sharding, and the sky-blue line represents Dilithium-3 with block modularity. Here, sharding with two shards gave better performance than Dilithium-3 with block modularity.
In conclusion, the graphs (
Figure A21) and (
Figure A22) show that sharding with two shards provides better performance than Dilithium-3 with block modularity for both block generation and throughput. This is because sharding allows for parallel processing and faster data access. While sharding with two shards may require more complex management, it is a better choice for blockchain networks that need to scale to large numbers of users and transactions.
Dilithium-3 without block modularity is a cryptographic signature scheme that emphasizes performance. It is designed to be fast and efficient while still providing a high level of security. Its security level is up to NIST security level 4. The architecture is simple, making it easier to implement and manage. However, it may not be as secure as other signature schemes that use block modularity.
Sharding with two shards emphasizes scalability. By splitting data into two shards, it allows for parallel processing and faster data access. The goal is to improve system performance, especially in scenarios where numerous transactions need to be processed simultaneously. While sharding with two shards offers performance benefits, it may require more complex management due to challenges with data distribution and load balancing.
The line graph shown in
Figure A23 illustrates the time it takes to generate a block for different numbers of voters. The blue line represents Dilithium-3 without block modularity, and the green line represents sharding with two shards. The blue line and green line stayed almost the same, but when the number of voters increased, the blue line (Dilithium-3 without block modularity) took more time than the green line (sharding). This makes the conclusion that sharding performs better than Dilithium-3 without block modularity.
Figure A23.
Block generation time for Dilithium-3 without block modularity and sharding. The horizontal axis represents the time, and the vertical axis represents the number of voters. As the number of voters increases, sharding with two shards (green line) is able to maintain a consistent block generation time. In contrast, Dilithium-3 without block modularity (blue line) experiences significant performance degradation. This comparison highlights the efficiency of sharding in maintaining consistent performance under increasing voter loads.
Figure A23.
Block generation time for Dilithium-3 without block modularity and sharding. The horizontal axis represents the time, and the vertical axis represents the number of voters. As the number of voters increases, sharding with two shards (green line) is able to maintain a consistent block generation time. In contrast, Dilithium-3 without block modularity (blue line) experiences significant performance degradation. This comparison highlights the efficiency of sharding in maintaining consistent performance under increasing voter loads.
The bar graph shown in
Figure A24 illustrates the throughput of the two approaches for different numbers of voters. The green line represents sharding, and the sky-blue line represents Dilithium-3 without block modularity. Again, sharding outperforms Dilithium-3 without block modularity, especially for large numbers of voters.
Figure A24.
Throughput of Dilithium-3 without block modularity and sharding with two shards. The bar graph shows the throughput of the two approaches for different numbers of voters. The horizontal axis represents the number of voters, and the vertical axis represents the throughput in transactions per second. Here, sharding with two shards gave better performance than Dilithium-3 without block modularity.
Figure A24.
Throughput of Dilithium-3 without block modularity and sharding with two shards. The bar graph shows the throughput of the two approaches for different numbers of voters. The horizontal axis represents the number of voters, and the vertical axis represents the throughput in transactions per second. Here, sharding with two shards gave better performance than Dilithium-3 without block modularity.
In conclusion, the graphs (
Figure A23) and (
Figure A24) show that sharding with two shards provides better performance than Dilithium-3 without block modularity for both block generation and throughput. This is because sharding allows for parallel processing and faster data access. While sharding with two shards may require more complex management, it is a better choice for blockchain networks that need to scale to large numbers of users and transactions. The comparison data is shown in
Table A10.