Skip to content

RE: Encrypting and Decrypting? #7380

@JMW62

Description

@JMW62

Hi Maira and Matt! Enjoyed your walkthrough! Built the app and it appears to be working. However, I tested the program in 4 different ways: 1. Just to check the program was working, inserted "Test001" as the Plain Text input (I presume this would be synonymous with Username?) and "pass001" as the Password. This produces a cipher code. Decoding produces the Plain Text(PT) result - "Test001"; 2. Plain text = James and Password = pass002 which produces PT - James; 3. To verify the Password security of #2, I used Plain Text = James and Password = passFake which produces PT - James?; 4. To double check that result, I used a random full name, i.e. Plain Text = James Riley Watson and a true Password = pass003. Then, I used the same PT full name, James Riley Watson and a fake Password = passFake. This produces a different cipher code from the first time the full name was inserted, but when I decoded I was surprised that the PT result was James Riley Watson?! Since the cipher code for the first insertion of the full name with a "true" password and the cipher code for the second insertion of the same full name is different, I should not be allowed access to the user's name/account, right? Besides, the Password "passFake" had already been used so I guess it should not be allowed either nor should it produce protected data? I am just posting this because curious and I'm trying to learn more about data security and don't understand the results I obtained? Seems like there's no option to post the BMP here? Also, I would really appreciate comments on where this data is being stored to understand more about how secure this method is? Please correct me if there's something I've missed here! Any help is welcome!


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions