I was just wondering if their was a name for this type of encryption.
Basically, are there any encryption methods that can have false keys that generate false outputs? I figure it can be useful if you want to find someone who tries to brute force a password hash. If someone gets a hold of your password hash, they brute force it, and try to connect with a dummy output, then it can be logged that someone somehow got a hold of your password hash? Let me know if this is concept is stupid, confusing, or exists already!Code:String plainText="something written here"; String password="fruitloops"; String encryptedText= encrypt(plaintext,password); decrypt(encryptedText,password); // Would return "something written here" decrypt(encryptedText,randomPassword); //Would return some garbage, incorrect string decrypt(encryptedText,fakePassword); // Would return "something incorrect written here"




Reply With Quote