Skip to content
/ Va1 Public

🔑 Va1 is a simple character converter. It converts characters into nums, might be used in encryption protocols or as independent algorithm.

License

Notifications You must be signed in to change notification settings

red-sayed/Va1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔑 Va1

plot

What is it?

Va1 is a simple character converter. It converts characters into nums(if , might be used in encryption protocols or as independent algorithm. It is a part of RedLibrary.

How it works?

Va1 uses the following table to substitute characters:

Main (nums only)
----------------

|---------|---|---|---|---|---|---|---|---|---|---|
| **Va1** | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---------|---|---|---|---|---|---|---|---|---|---|
| 0       | l | p | r | t | u | d | h | f | c | n |
| 1       | v | w | b | j | o | y | a | z | m | k |
| 2       | x | s | q | e | i | g | ! | @ | ( | & |
| 3       | # | % | $ | * | ^ | ) | _ | + | > | = |
| 4       | < | - | . | , | : | | | ; | { | [ | ] |
| 5       | } | ? | / |' '| ` | ~ | G | 0 | 7 | 5 |
| 6       | 2 | 3 | 1 | 4 | 8 | 6 | 9 | L | P | R |
| 7       | T | U | D | H | F | C | N | V | W | B |
| 8       | J | O | Y | A | Z | M | K | X | S | Q |
| 9       | E | I | ----------------------------- |
|---------|---|---|---|---|---|---|---|---|---|---|

How to use?

Function prototypes:

// Encryption.
std::string * Va1Encode(const std::string *ToEnc);

// Decryption.
std::string * Va1Decode(const std::string *ToDec);

Tech notes:

  • It understands only characters from the table above.
  • It's not fast but it still useful.

Example:

plot

plot

All material in this repository is in the public domain.
With Copyright© ∞ Vladimir Rogozin.

About

🔑 Va1 is a simple character converter. It converts characters into nums, might be used in encryption protocols or as independent algorithm.

Topics

Resources

License

Stars

Watchers

Forks