Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7073195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:54:01+00:00 2026-05-28T05:54:01+00:00

The wikipedia page on TwoFish points at this reference implementation in C (and code

  • 0

The wikipedia page on TwoFish points at this reference implementation in C (and code) which is fine, but it lacks a main and my first few passes at implementing one didn’t correctly process any of the “known vector” test cases I attempted. I suspect I’m looking at a problem of not using the API correctly but I have no idea where to start looking for the error. Rather than beat my head on that one, I’d rather start with a codebase that:

  1. Runs out of the box
  2. Has tests
  3. Is self contained
  4. Is written for clarity

I also have a strong preference for C or C like C++ code.


Note: I’m more interested in code readability than anything else at this point. Small, simple code that can encrypt and decrypt a single block and a main function that hard codes a call or three would be ideal. Most anything beyond that (like any user interface) will just be noise for my use case.

Also, anything that has a licence more restrictive than Boost will be useful to me only as an source of know good values and states to compare with.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:54:01+00:00Added an answer on May 28, 2026 at 5:54 am

    I eventually found this Python implementation derived from the C implamentation I listed above. The root cause of my issues turned out to be that the words of the key were in the wrong order.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have check out this Wikipedia page on it, but I still don't understand
I was reading this wikipedia page http://en.wikipedia.org/wiki/Hash_table There I fount this line The main
This Wikipedia page has an extensive list of hashing methods As you can see,
Premise: This Wikipedia page suggests that the computational complexity of Schoolbook long division is
I want to embed a wikipedia article into a page but I don't want
I was looking at this on the Wikipedia Page and was wondering if anyone
This question about zip bombs naturally led me to the Wikipedia page on the
I'm working on some code that retrieves a section of a Wikipedia page as
Wikipedia page for rainbow tables says: this use of multiple reduction functions approximately doubles
From this wikipedia page: The fundamental difference between context-free grammars and parsing expression grammars

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.