Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ASCON command line tool #43

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

InfoHunter
Copy link
Member

This commit includes minisuo command ascon-aead and ascon-hash.

Currently, ascon-hash only supports one-shot mode, meanwhile ascon-aead can be used as a stream encrption/decryption tool.

Usage:

ASCON AEAD ENC:

$ ./minisuo ascon-aead -scheme 128 -in ./CMakeCache.txt -out /tmp/xxxxxx -key 000102030405060708090A0B0C0D0E0F -nonce 000102030405060708090A0B0C0D0E0F
-enc
TAG IS:
A4FC828FB7132F4B3D281A5DDB07A69F

ASCON AEAD DEC:

$ ./minisuo ascon-aead -scheme 128 -out /tmp/aaaaa -in /tmp/xxxxxx -key 000102030405060708090A0B0C0D0E0F -nonce 000102030405060708090A0B0C0D0E0F -dec -tag A4FC828FB7132F4B3D281A5DDB07A69F

ASCON HASH:

$ ./minisuo ascon-hash -scheme hash -in 123
ASCON Hash: 7894BEF31970DEEFFB3A99EC1402BE201DCFBD7D6DF14FCA15E19E830FAF492C

app/minisuo.c Show resolved Hide resolved
app/minisuo.c Show resolved Hide resolved
This commit includes minisuo command ascon-aead and ascon-hash.

Currently, ascon-hash only supports one-shot mode, meanwhile ascon-aead
can be used as a stream encrption/decryption tool.
@InfoHunter InfoHunter changed the title [WIP]Add ASCON command line tool Add ASCON command line tool Oct 13, 2023
@dongbeiouba dongbeiouba merged commit 60e9f49 into Tongsuo-Project:main Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants