Jump to content

Simple, single phrase decryption in Windows?

Hi there 🙂

 

I’m looking to call a tiny command line program from a batch script that will take an encryption key, like “P&ssw0rd”, use it on some cypher text (that I prepared earlier) and output the decrypted phrase.

 

The idea is that when encrypting an archive, I want to make sure that I am using the same key every single time I run my script. I expect it will go something like:

 

1. Enter encryptionKey

2. Decrypt cypherText

3. If decryptResult not equals expectedResult goto 1, else continue

4. Use encryptionKey to encrypt archive.

 

Thanks in advance for any help given.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×