@@ -0,0 +1,2867 @@
+package br.org.crypto;%0A%0Aimport java.awt.HeadlessException;%0Aimport java.io.UnsupportedEncodingException;%0Aimport org.jasypt.util.password.*;%0Aimport org.jasypt.util.text.*;%0Aimport java.security.*;%0Aimport java.math.*;%0Aimport javax.swing.JOptionPane;%0A%0Apublic class Crypyo %7B%0A    //jasypt%0A    private String txt;%0A    private String password;%0A    private String encTxt;%0A    private String encPass;%0A    private int num;%0A    private int encNum;%0A    private String unectxt;%0A    %0A    public void enc_jasypt_string(String txt)%7B%0A            BasicTextEncryptor bte = new BasicTextEncryptor();%0A            bte.setPassword(password);%0A            JOptionPane.showInputDialog(%22Jasypt%22, bte.encrypt(txt));%0A            %0A    %7D%0A    public void jasypt_pass()%7B%0A        StrongPasswordEncryptor spe = new StrongPasswordEncryptor();%0A        encPass = spe.encryptPassword(password);%0A       JOptionPane.showMessageDialog(null, %22Enc string: %22+encPass);%0A    %7D%0A    public void jasypt_txt()%7B%0A       StrongTextEncryptor ste = new StrongTextEncryptor();%0A       ste.setPassword(txt);%0A      ste.encrypt(txt);%0A      encTxt =ste.encrypt(txt);%0A       JOptionPane.showMessageDialog(null, %22Enc string: %22+encTxt);%0A    %7D%0A    public void jasypt_unenc(String txt)%7B%0A        try%7B%0A            BasicTextEncryptor bte = new BasicTextEncryptor();%0A            bte.setPassword(password);%0A            String unectxt = bte.decrypt(txt);%0A            JOptionPane.showInputDialog(%22Jasypt%22, unectxt);%0A        %7Dcatch(HeadlessException ex)%7B%0A            JOptionPane.showMessageDialog(null, %22Error: %22+ex);%0A        %7D%0A    %7D%0A  %0A    public String getTxt() %7B%0A        return txt;%0A    %7D%0A    public void setTxt(String txt) %7B%0A        this.txt = txt;%0A    %7D%0A%0A    public String getPassword() %7B%0A        return password;%0A    %7D%0A%0A    public void setPassword(String password) %7B%0A        this.password = password;%0A    %7D%0A    //MD5%0A    public void encrypt_MD5(String enc) throws NoSuchAlgorithmException%7B%0A        MessageDigest m=MessageDigest.getInstance(%22MD5%22);%0A         m.update(enc.getBytes(),0,enc.length());%0A          JOptionPane.showInputDialog(null, %22MD5%22, new BigInteger(1,m.digest()).toString(16));%0A                  %7D%0A    %0A    //SHA - SHA - 256%0A        %0A           %0A        public String sha256(String base) %7B%0A    try%7B%0A        MessageDigest digest = MessageDigest.getInstance(%22SHA-256%22);%0A        byte%5B%5D hash = digest.digest(base.getBytes(%22UTF-8%22));%0A        StringBuffer hexString = new StringBuffer();%0A%0A        for (int i = 0; i %3C hash.length; i++) %7B%0A            String hex = Integer.toHexString(0xff & hash%5Bi%5D);%0A            if(hex.length() == 1) hexString.append('0');%0A            hexString.append(hex);%0A        %7D%0A%0A        return hexString.toString();%0A    %7D catch(UnsupportedEncodingException ex)%7B%0A       throw new RuntimeException(ex);%0A    %7D   catch (NoSuchAlgorithmException ex) %7B%0A        throw new RuntimeException(ex);%0A        %7D%0A%7D%0A    %0A%7D%0A

Create Crypyo.java