Giter Club home page Giter Club logo

java.gui.ciphermaster's Introduction

MIT License GPLv3 License AGPL License

🤍


🇬🇧

CipherMaster 🛡️💻

Welcome to CipherMaster, your go-to repository for powerful text encryption using Java's Swing interface and the Vigenère cipher! 🚀✨

What's Inside? 📦

This repository contains a Java class named Cipher that provides two encryption methods:

  1. Vigenère Cipher 🔑🔢

    • Encrypts or decrypts a given message using the Vigenère cipher algorithm.
    • Supports both uppercase and lowercase letters.
    • Takes a key as an input parameter for enhanced security.
  2. Alphabetic Translation Cipher (Caesar Cipher) 🔄🔠

    • Translates a message by shifting letters in the alphabet.
    • Allows custom translation distances for added flexibility.
    • Handles both uppercase and lowercase letters.

How to Use 🤔💡

  1. Vigenère Cipher:

    String encrypted = Cipher.vigenere("Come on Napoli", "KEY", true);
    String decrypted = Cipher.vigenere(encrypted, "KEY", false);
  2. Alphabetic Translation Cipher (Caesar Cipher):

    String encrypted = Cipher.cryptTraslateAZ("Come on Napoli", 3);

Feel free to explore and integrate these encryption functionalities into your projects! 🚀🔒

User Interface 👩‍💻👨‍💻

This class is designed to be seamlessly integrated with Java Swing GUIs. Connect this cipher engine to your Swing application, and create a user-friendly interface for encrypting and decrypting messages with ease! 🖥️🔐

Example Integration 🌐💼

// Example of integrating with Swing GUI
// (Assuming Cipher class is appropriately connected to the Swing UI)

String plainText = plainTextArea.getText(); // Get input from the user
String key = keyField.getText(); // Get encryption key

// Encrypt the message using Vigenère cipher
String encryptedText = Cipher.vigenere(plainText, key, true);

// Display the encrypted text in the GUI
cipherTextArea.setText(encryptedText);

Feel free to get creative and enhance your projects with CipherMaster's powerful encryption capabilities! 🔐✨

Happy coding! 🚀🌟


🤍


🇮🇹

CipherMaster 🛡️💻

Benvenuti in CipherMaster, il tuo repository di riferimento per la potente crittografia di testo utilizzando l'interfaccia Swing di Java e il cifrario di Vigenère! 🚀✨

Cosa Contiene? 📦

Questo repository contiene una classe Java chiamata Cipher che fornisce due metodi di crittografia:

  1. Cifrario di Vigenère 🔑🔢

    • Crittografa o decrittografa un messaggio dato utilizzando l'algoritmo del cifrario di Vigenère.
    • Supporta lettere maiuscole e minuscole.
    • Richiede una chiave come parametro di input per una sicurezza avanzata.
  2. Cifrario a Traduzione Alfabetica (cifrario di Cesare) 🔄🔠

    • Traduce un messaggio spostando le lettere nell'alfabeto.
    • Consente distanze di traduzione personalizzate per una maggiore flessibilità.
    • Gestisce sia lettere maiuscole che minuscole.

Come Usare 🤔💡

  1. Cifrario di Vigenère:

    String crittografato = Cipher.vigenere("Forza Napoli", "CHIAVE", true);
    String decrittografato = Cipher.vigenere(crittografato, "CHIAVE", false);
  2. Cifrario a Traduzione Alfabetica (Cifrario di Cesare):

    String crittografato = Cipher.cryptTraslateAZ("Forza Napoli", 3);

Sentitevi liberi di esplorare e integrare queste funzionalità di crittografia nei vostri progetti! 🚀🔒

Interfaccia Utente 👩‍💻👨‍💻

Questa classe è progettata per essere integrata senza problemi con le interfacce utente Swing di Java. Collegate questo motore di crittografia alla vostra applicazione Swing e create un'interfaccia utente intuitiva per crittografare e decrittografare messaggi con facilità! 🖥️🔐

Esempio di Integrazione 🌐💼

// Esempio di integrazione con GUI Swing
// (Assumendo che la classe Cipher sia collegata correttamente all'interfaccia Swing)

String testoChiaro = areaTestoChiaro.getText(); // Ottieni l'input dall'utente
String chiave = campoChiave.getText(); // Ottieni la chiave di crittografia

// Crittografa il messaggio utilizzando il cifrario di Vigenère
String testoCrittografato = Cipher.vigenere(testoChiaro, chiave, true);

// Visualizza il testo crittografato nell'interfaccia grafica
areaTestoCifrato.setText(testoCrittografato);

Sentitevi liberi di essere creativi e migliorare i vostri progetti con le potenti capacità di crittografia di CipherMaster! 🔐✨

Buon coding! 🚀🌟

▴ top ▴

🔗 Links

linkedin twitter

java.gui.ciphermaster's People

Contributors

birg81 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.