v/vlib/x/crypto/ascon
2025-09-11 05:31:52 +00:00
..
bench x.crypto.ascon: improves one-shot of ascon hasing functions 2025-09-11 05:31:52 +00:00
examples
aead128.v
aead128_test.v x.crypto.ascon: small cleans up 2025-09-11 05:31:52 +00:00
ascon.v
ascon_test.v
cxof_test.v
digest.v x.crypto.ascon: improves one-shot of ascon hasing functions 2025-09-11 05:31:52 +00:00
hash.v x.crypto.ascon: improves one-shot of ascon hasing functions 2025-09-11 05:31:52 +00:00
hash_test.v
README.md x.crypto.ascon: improves one-shot of ascon hasing functions 2025-09-11 05:31:52 +00:00
util.v x.crypto.ascon: improves one-shot of ascon hasing functions 2025-09-11 05:31:52 +00:00
xof.v x.crypto.ascon: improves one-shot of ascon hasing functions 2025-09-11 05:31:52 +00:00
xof_test.v

ascon

ascon is an implementation of Ascon-Based Cryptography module implemented in pure V language. This module was mostly based on NIST Special Publication of 800 NIST SP 800-232 document. Its describes an Ascon-Based Lightweight Cryptography Standards for Constrained Devices thats provides Authenticated Encryption, Hash, and Extendable Output Functions. See the NIST.SP.800-232 Standard for more detail.

This module mostly implements all the features availables on the document. Its currently implements:

  • Ascon-Hash256, Ascon-based hashing implementation that produces 256-bits output.
  • Ascon-XOF128, Ascon-based eXtendable Output Function (XOF) where the output size of the hash of the message can be selected by the user.
  • Ascon-CXOF128, a customized XOF that allows users to specify a customization string and choose the output size of the message hash.
  • Ascon-AEAD128, an Authenticated Encryption with Additional Data (AEAD) Scheme based on Ascon-family crypto.