Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eugenedakin/des-encryption-decryption

Encrypt and Decrypt text in Xojo using DES - Written in Native Xojo Language - Cross Platform
https://github.com/eugenedakin/des-encryption-decryption

data data-encryption-standard decryption des encryption standard xojo

Last synced: 16 days ago
JSON representation

Encrypt and Decrypt text in Xojo using DES - Written in Native Xojo Language - Cross Platform

Awesome Lists containing this project

README

        

# DES-Encryption-Decryption
Encrypt and Decrypt text in Xojo using DES - Written in Native Xojo Language - Cross Platform - Code created from scratch and in Xojo code.

- Compatible OS's: All
- Xojo IDE: 2022 r1.1
- Xojo API: API 2
- Level: Advanced

![](https://github.com/eugenedakin/DES-Encryption-Decryption/blob/main/DESScreenGrab.png)

Youtube video teaser.

[![DES Xojo Encryption](https://github.com/eugenedakin/DES-Encryption-Decryption/blob/main/DESEncryptionPict.png)](https://www.youtube.com/watch?v=my3Yu0q8zHU)

Code for this example is in the DESAlgorithm module which can encrypt text or decrypt text using DES (Data Encryption Standard) Cryptography.

Instructions:
1) Run the program in Xojo 2022 r1.1
2) Add an 8-letter (64-bit) key
3) Press Create to convert the 8-letter key to hexadecimal format
4) Enter your text in the Clear Text TextArea Control
5) Press Encrypt to use the DES Algorithm and the encoded text will appear in the control called DES Hex Encoded Message
6) To decrypt the message, place the encoded message in the control called DES Hex Encoded Message Control
7) Press the Decrypt button
8) The decrypted message will then appear in the DES Decrypted Message Control

Remember to use the same 8-letter key when encrypting and decrypting

The Module can be copied and pasted to use in your program. This is written in native Xojo code.

An article was written in xDev (xdevmag.com) Issue 20.2 (March/April 2022) that describes the Xojo code.