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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:14:25+00:00 2026-05-29T11:14:25+00:00

I am developing a C# app that can NOT connect to the internet. This

  • 0

I am developing a C# app that can NOT connect to the internet.

This app will produce a configuration file for my hardware.

what i want to be sure, is that when i give the configuration file to my assistant he doesn’t change it and puts in the hardware a file with different configuration.

To avoid this i am currently using a simple method.

  1. In the code i’ve a key: abcd123

  2. My application produce a configuration file and then:

  3. HASH the configuration file and encrypts the HASH with the KEY: abcd123 stored in the
    string variable KEY

  4. give the configuration file to my assistant who loads it in the hardware

now, the hardware has the KEY abcd123, it decrypts the config and HASH the payload. IF the 2 HASH are THE SAME i assume that my assistant did not change the configuration file.

What i am concerned about is that the KEY store in the code in .NET is very easy to recover without obfuscation.

I’ve thus bought Crypto Obfuscator, but i don’t know how much my key is secure.

I am not skilled enough to de-compile my program and see if the key is still in clear or not.

What methods can you suggest me to make me REASONABLY secure that my key is “safe” ?

I understand that a there is no way to secure it, but i just want a reasonable additional security to my automated obfuscation of which i dont know much.

I hope i’ve been clear but ask for clarification.

  • 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-29T11:14:26+00:00Added an answer on May 29, 2026 at 11:14 am

    what i want to be sure, is that when i give the configuration file to my assistant he doesn’t change it and puts in the hardware a file with different configuration.

    You are looking for a digital signature algorithm. Broadly, there are two ways to do this:

    • Use a symmetric algorithm that computes a crypto-reliable hash (SHA-2 for example). You publish hash and corresponding file. Hardware gets the file, computes the hash with the same algorithm and asserts that it is the same as the publicly published hash. See how Apache log4net provides libraries and the matched signatures.

    • Another approach would be to use a public-private key signature, for example with RSA. A sample is available from msdn, where it shows how to sign an XML document using RSACryptoServiceProvider. You can create a private-public key pair. Private key is used to create a digital signature and you keep it to yourself. With public key you can only verify signature, and this is what you deploy to the device.

    Another safety tip from the link above:

    Never store or transfer the private key of an asymmetric key pair in
    plaintext. Never embed a private key directly into your
    source code. Embedded keys can be easily read from an assembly using
    the Ildasm.exe (MSIL Disassembler) or by opening the assembly in a
    text editor such as Notepad.

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

Sidebar

Related Questions

I am developing an Android app, it will connect to the internet to load
I'm developing web app that user can save his/her work to server. The data
When developing an app that will listen on a TCP/IP port, how should one
I am developing a little app that retrieves an XML file, located on a
I am developing an app that needs to match people together. Each person can
I'm thinking of developing an app that uses Microsoft Push Notification. However, I'm not
Im developing a Rails app that will contain a web front end as well
I have an app that I have been developing that can display sensitive user
I am developing an app that will use the profile picture of user. I
I am developing an iPhone app that polls an internet web service. The poll

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.