Doubt about cryptography

Asked

Viewed 85 times

0

I’m looking at how encryption works though, I’m having a doubt almost all examples encryption codes have a Plaintext String, follow the link from one of the post I looked at: http://site.iai.art.br/radar/android-development-criptografia-baseada-em-senha/

this post has the following code:

public static String encrypt(String plainText, String password) throws

password would be the password I want to encrypt right?

but what about plaintext?

someone could explain me what would be assigned in this plaintext?

  • Related: http://answall.com/questions/2402

1 answer

1


plaintext is the text you want to encrypt.

While password is the key to protection.

To decrypt you will need to use the function decrypt passing as argument the same password used in the function encrypt.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.