Skip to content

Add hardcoded encryption key on top of a secret. #297

@commjoen

Description

@commjoen

Have a challenge about "bad encryption practices" where we hardocde the key and the secret in java.

Steps to take:

  • create a secret on your computer
  • encrypt it with your algorithm of choice (could be AES, 3DES, whatever you like) on your computer resulting in the ciphertext you need
  • now take the ciphertext and put that in the java code of the challenge
  • add the key you used to encrypt the challenge and a decryption method to the challenge. See contributing.md on how to create the challenge.

Metadata

Metadata

Labels

Type

No type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions