Skip to main navigation Skip to search Skip to main content

A Petri Net Token-Flow PRNG for Grayscale Image Encryption

A. Mahadeer, Arulprakasam Ranganathan*, Gurusamy Rajendran, Yilun Shang*

*Corresponding author for this work

Research output: Contribution to journal › Article › peer-review

2 Citations (Scopus)
16 Downloads (Pure)

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.

Original languageEnglish
Pages (from-to)1-31
Number of pages31
JournalNew Mathematics and Natural Computation
Early online date26 Mar 2026
DOIs
Publication statusE-pub ahead of print - 26 Mar 2026

Keywords

  • Cryptography
  • image encryption
  • Petri net
  • pseudorandom number generators

Fingerprint

Dive into the research topics of 'A Petri Net Token-Flow PRNG for Grayscale Image Encryption'. Together they form a unique fingerprint.

Cite this