Ultra Geile Studenten Benutzer Oberfläche (UGSBO)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
602 B

package com.ugsbo.Crypto;
import java.io.UnsupportedEncodingException;
import java.security.GeneralSecurityException;
public class Crypto_Logic {
public static void main(String[] args) throws UnsupportedEncodingException, GeneralSecurityException {
// TODO Auto-generated method stub
String test = "Hallo, mein Name ist Christian";
Payload temp = new Payload();
temp.setOffen(test);
temp.setPassword("geheim");
temp.verschlüsseln();
System.out.println(temp.getVerschlüsselt());
temp.entschlüsseln();
System.out.println(temp.getOffen());
}
}