arXiv · 2305.04138
On the usefulness of linear types for correct nonce use enforcement during compile time
Abstract
Cryptographic algorithms and protocols often need unique random numbers as parameters (e.g. nonces). Failure to satisfy this requirement lead to vulnerable implementation and can result in security breach. We show how linear types and static type checking can be used to enforce the correct generation of a new unique random number for each function invocation.
Explore related subjects
Keep this discovery
Richard Ostertág. 2023-05-06. On the usefulness of linear types for correct nonce use enforcement during compile time. https://arxiv.org/abs/2305.04138
Cite the original work for its findings. Save a collection to share your selection of sources.