Skip to content

CodeSparkEngineering/String-Encryption---Vowel-and-Number-Substitution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” String Encryption - Vowel and Number Substitution

πŸ—οΈ Developed by Codespark Engineering


🧩 Project Description

This program automatically generates a phrase containing a name and RU (ID number), then encrypts it by replacing:

  • Vowels (A, E, I, O, U) β†’ with numbers (2–6)
  • Digits (0–9) β†’ with letters (A–U) following a specific mapping

The result is a transformed string that hides the original content in a simple but illustrative way β€” useful as a basic introduction to character manipulation, encryption logic, and pointer arithmetic in C.


βš™οΈ Features

  • ✍️ Automatically generates a string with full name and RU.
  • πŸ”„ Replaces vowels with predefined numbers:
    • A β†’ 2
    • E β†’ 3
    • I β†’ 4
    • O β†’ 5
    • U β†’ 6
  • πŸ”„ Replaces numbers with predefined vowels:
    • 0 β†’ A
    • 1 β†’ E
    • 2 β†’ I
    • 3 β†’ O
    • 4 β†’ U
    • 5 β†’ a
    • 6 β†’ e
    • 7 β†’ i
    • 8 β†’ o
    • 9 β†’ u
  • 🧭 Uses pointers to traverse and modify the string directly.
  • πŸ“€ Prints both the original and encrypted string.

About

This program **automatically generates a phrase** containing a name and ID number, then **encrypts it** by replacing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages