Papers1 provider · 1 record
March 26, 2026· New Mathematics and Natural Computation
article

A Petri Net Token-Flow PRNG for Grayscale Image Encryption

Abstract

Pseudorandom number generators (PRNGs) are foundational in cryptography, providing the unpredictability required for key generation and data protection. Petri nets provide a structured mathematical framework for modeling systems with concurrency, asynchrony, distribution, and nondeterminism. This paper proposes a Petri net token-flow PRNG for grayscale image encryption and instantiates it in a permutation-diffusion cipher. The Petri net is initialized from a SHA-256 digest, and the induced token flow yields two keystreams for pixel permutation and XOR-based diffusion. On standard grayscale benchmarks, the cipher produces near-uniform ciphertext histograms, high entropy, low adjacent-pixel correlation, high NPCR, and lossless decryption quality. These results suggest that Petri net-driven keystreams are a viable alternative to chaos-based generators for image protection, combining the modeling strengths of Petri nets with established permutation-diffusion techniques.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.