Skip to content

vishantgawali1811/vsun_algo_app

Repository files navigation

V-Sun Hashing Algorithm

What is V-Sun?

V-Sun is a custom hashing algorithm designed by Vishant on a Sunday (hence the name 🌞). It’s not a standard hash like SHA or MD5 — instead, it’s a fun, experimental, and symbolic hashing algorithm where characters are shifted, converted into digits, and then transformed into symbols.


How it Works (Step by Step)

  1. Take the input password.

  2. Pick the last character:

    • Convert it to uppercase and place it at the start of the hash.
    • Compute (ASCII(last char) + 1) and save it as a 3-digit number → this goes at the end of the hash.
  3. For each character in the password:

    • Convert it to ASCII.

    • Add +1 to the ASCII value.

    • Break that number into digits (e.g., 119 → 1 1 9).

    • Replace each digit with a special symbol map:

      0 = )   1 = !   2 = @   3 = #   4 = $
      5 = %   6 = ^   7 = &   8 = *   9 = (
      
    • Join the symbols → this forms the encoded chunk.

  4. Combine everything:

    Final Hash = (Uppercase Last Letter) + (All Symbol Chunks) + (3-digit Number)
    

Example

Input:

vishant

Steps:

  • Last character = t → uppercase = T

  • ASCII(t) = 116 → +1 = 117last_three = "117"

  • Convert each letter:

    • v (118 → 119)!!(
    • i (105 → 106)!)^
    • s (115 → 116)!!^
    • h (104 → 105)!)%
    • a (97 → 98)(*
    • n (110 → 111)!!!
    • t (116 → 117)!!&
  • Body = !!(!)^!!^!)%(*!!!!!&

Final Output:

T!!(!)^!!^!)%(*!!!!!&117

🛠 Features

  • Custom digit-to-symbol transformation.
  • ASCII shifting for uniqueness.
  • Adds both uppercase + numeric flavor.
  • Fun, easy-to-understand, and unique hashing style.

Future Ideas

  • Flutter app to input a password and instantly see its V-Sun hash.
  • Option to “copy hash” with one tap.
  • Add reverse-testing (for fun, not security).

Disclaimer

This is an experimental hashing algorithm made for **learning **. It is NOT meant for real-world password storage or cryptography.


Made with curiosity by Vishant on a Sunday — that’s why it’s called V-Sun

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published