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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:51:07+00:00 2026-06-11T21:51:07+00:00

I wrote a Password Locker C# app a while ago as an exercise in

  • 0

I wrote a “Password Locker” C# app a while ago as an exercise in encryption. I’d like to move the data to the web so that I can access it anywhere without compromising my password data. I’d just like to run my ideas by the community to ensure I’m not making a mistake as I’m not an encryption expert.

Here’s what I envision:

  1. In the C# app all the password data is encrypted as a single chunk of text using a user supplied password. I’m using Rijndael (symmetric encryption) in CBC mode. The password is salted using a hard coded value.
  2. Encrypted data gets sent to my database
  3. I go to a web page on my server and download the encrypted text. Using client side javascript I input my password. The javascript will decrypt everything (still client side)

Here are my assumptions:

  • I assume that all transmissions can be intercepted
  • I assume that the javascript (which contains the decryption algo, and hard coded salt) can be intercepted (since it’s really just on the web)
  • The password cannot be intercepted (since it’s only input client side)
  • The result is that someone snooping could have everything except the password.

So, based on those assumptions: Is my data safe? I realize that my data is only as safe as the strength of my password… Is there something I can do to improve that? Is Rijndael decryption slow enough to prevent brute force attacks?

I thought about using a random salt value, but that would still need to be transmitted and because of that, it doesn’t seem like it would be any safer. My preference is to not store the password in any form (hashed or otherwise) on the web.

Edit:
I am considering using SSL, so my “interception” assumptions may not be valid in that case.

Edit 2:
Based on comments from Joachim Isaksson, I will be running with SSL. Please continue breaking apart my assumptions!

Edit 3:
Based on comments from Nemo I will use salt on a per user basis. Also, I’m using PBKDF2 to derive a key based on passwords, so this is where I’ll get my “slowness” to resist brute force attacks.

  • 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-06-11T21:51:08+00:00Added an answer on June 11, 2026 at 9:51 pm

    Without even going into the crypto analysis in any way, if you’re assuming all your information can be intercepted (ie you’re running without SSL), you’re not secure.

    Since anyone can intercept the Javascript, they can also change the Javascript to make the browser pass the clear text elsewhere once decrypted.

    Also, anyone hacking into the site (or the site owner) can maliciously change the Javascript to do the same thing even if SSL is on.

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

Sidebar

Related Questions

I wrote a code in ASP.NET that read data from SQL Table and show
Hi I wrote a simple c prog to just accept a password while diplaying
I wrote this in my web.config now how to access host,port in my code
i wrote a code to update the password encryption in my site.. the code
I wrote a small PHP application that I'd like to distribute. I'm looking for
I wrote a small PHP application several months ago that uses the WordPress XMLRPC
i wrote a web method that has string return value.this return value get form
I wrote a nice little app that gets Yahoo weather info and posts it
I have a bash script that I need to write my password to run
I wrote a symfony task to fill a database of sample data. Here's 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.