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 4038966
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:32:30+00:00 2026-05-20T12:32:30+00:00

Our production environment (TCL) are storing some data in the DB with blowfish encryption

  • 0

Our production environment (TCL) are storing some data in the DB with blowfish encryption and I’m trying to do the same from Java for our test automation.

I fail to get encrypt/decrypt with same result and I suspect the standard settings for Blowfish in TCL are different from Java. Anyone now what the default settings are for Blowfish in TCL so I can reproduce the same code in Java?

I’m not that good in TCL but this is the code executing the encryption

return [blowfish encrypt -hex $CFG(secretkey) -bin $data]

Thanks,
Stefan

  • 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-20T12:32:30+00:00Added an answer on May 20, 2026 at 12:32 pm

    Is this the blowfish code from Tcllib? If so, what exactly it is doing is documented on the manual page. In short, you really ought to specify the mode (ECB or CBC) and initialization vector when initializing the cypher; try specifying it and seeing whether it gives the same results. If so, you’ve got the settings you need to replicate from the other side.

    Also, from that page:

    The -mode and -dir options are optional and default to cbc mode and encrypt respectively. The initialization vector -iv takes an 8 byte binary argument which defaults to 8 zeros. See MODES OF OPERATION for more about available modes and their uses.

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

Sidebar

Related Questions

Our production environment runs 3 32-Bit Java 6 JVMs on each Windows 2003 server.
We are currently in the process of migrating our application from our production environment
I'm writing a stored procedure that should sync a table from our production environment
All - I have recently upgraded our production environment from Sql Server Reporting Services
On our live/production database I'm trying to add a trigger to a table, but
In our production environment, our WCF services are serialized with the XMLSerializer. To do
We like our production environment with a restricted/unchangable schema -- the development side can
We have a problem with our production environment which uses a modified version of
I have a web application that works in our stage/test environment fine but once
Ok, so here's the problem. In our production environment (ASP.Net) our servers have a

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.