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

Compile Error fixed - BASE62 Radix Possible? #8

Open
gratefuldeadbolt opened this issue Apr 26, 2023 · 1 comment
Open

Compile Error fixed - BASE62 Radix Possible? #8

gratefuldeadbolt opened this issue Apr 26, 2023 · 1 comment

Comments

@gratefuldeadbolt
Copy link

Hello, I was hoping to test your FPE in C, I downloaded the files, (running debian mx linux) ensured libraries up to date, installed openssl, installed updated make and gcc, uncompressed files in /home/testing directory.

Next, I ran $: make example, and this built the makefile as downloaded.

when I try to run example, I get command not found.

Looking at example.c it looks like I need 4 arguments after the program name

<key>: the encryption key, in hexadecimal format.
<tweak>: the tweak value, in hexadecimal format. This can be an empty string if not needed.
<radix>: the radix used in the encryption scheme. This should be an integer between 2 and 36.
<plaintext>: the plaintext to be encrypted, in string format.

so it looks like i must type something like "example 5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a "" 10 1234567890"

This is not working either. Can you help me on how to test this code? (test.py ran ok)

also can this code be altered to allow Base62 radix?

@gratefuldeadbolt
Copy link
Author

I found my mistake right after posting.
I forgot to include the terminal command ./ before the executable.
The example code is now working,
I am wondering how we can edit the code to allow for radix62?
Thank you.

@gratefuldeadbolt gratefuldeadbolt changed the title Example Arguments once compiled Compile Error fixed - BASE62 Radix Possible? Apr 26, 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

No branches or pull requests

1 participant