#random #prf #ascon #offers #mac #construction #ascon-prf

ascon-prng

Ascon-PRF is lightweight PRF. This implementation also offers an RNG based on this construction

1 unstable release

new 0.2.1 Jan 26, 2025
0.2.0 Jan 26, 2025
0.1.0 Jan 26, 2025

#5 in #ascon

34 downloads per month

Apache-2.0 OR MIT

14KB
344 lines

Ascon-PRF

A Psuedo Random Function and CryptoRng based on Ascon.

Based on these papers:

Ascon MAC, PRF, and Short-Input PRF Lightweight, Fast, and Efficient Pseudorandom Functions https://eprint.iacr.org/2021/1574

Sponge-based pseudo-random number generators https://keccak.team/files/SpongePRNG.pdf

This crate has not been audited. Use at your own risk.


lib.rs:

Ascon-PRNG

A Psuedo Random Function and CryptoRng based on Ascon.

Based on these papers:

Ascon MAC, PRF, and Short-Input PRF Lightweight, Fast, and Efficient Pseudorandom Functions https://eprint.iacr.org/2021/1574

Sponge-based pseudo-random number generators https://keccak.team/files/SpongePRNG.pdf

This crate has not been audited. Use at your own risk.

Dependencies

~435KB