Encryption is dated to be old it was used during julius ceasar by him now it is called cryptography let me give u an example if u want to say hello world you would encrypt it as gdkkn vnqkc to make it easy use g for h and c for d

Answers

2015-02-20T20:39:53+05:30
Make your encryption scheme something you can easily remember whenever you look at the encoded information. One or two rules/steps should be enough. If you make too many rules/steps when creating the scheme it will be much harder to recall when you need to use it to decode your information.Show a few samples of encoded information to your smartest friends and see if they're able to decode it within a few minutes.Test out your encryption scheme on unimportant information for a few weeks to make sure you remember it after some time has passed. If you don't, you'll need to come up with a more simple scheme that you won't forget.
0
Please say thanks mark as brainliest and please be my friend
  • Brainly User
2015-02-24T00:46:30+05:30
public static void main(String args[])
{ String message = "<abc>ABCDEFG</abc>";
String key = "key"; byte[] b = encrypt(message.getBytes(), key.getBytes()); } public byte[] encrypt(byte encrypt[], byte en_key[])
{ try { SecretKeySpec key = new SecretKeySpec(en_key, "Blowfish");
Cipher cipher = Cipher.getInstance("Blowfish/ECB/NoPadding"); cipher.init
(Cipher.ENCRYPT_MODE, en_key)
; return cipher.doFinal(encrypt); } catch (Exception e)
{ e.printStackTrace()
; return null; } } 
0