Sunny Saini
www.SunnySaini.com
Sunny Tiny XOR Encrypt v1

Sunny Tiny XOR Encrypt v1



Message (Max64):


Encrypted Text:




Precaution: For same strong password, the UID must be unique for each encryption. That is, the password and UID combination must be unique for each encryption and password must be very strong. Nothing is sent to the server. To test this, switch off the internet and encryption/decryption will still work in the browser. The standalone working html file can also be downloaded and can be used offline in a good web browser. Please check the hash sum before using the offline copy.

Working: HMAC-SHA-512 is derived from the password key, UID data and then XORed to the message.

Cipher Strength: Very Strong, provided UID is really unique for each encryption and password is strong.

Cipher Property: Smallest base64 encoded cipher, easy to handle by humans for hand written text.

Use: Good for small Messages.

Supported Characters: All ATX keyboard characters. Do not use unicode or other keyboard characters.

Example Use: (For password: pwd)

Date: 2018-08-23 00:32

To, 6#hMki

Dear Friend,
Hi,

As informed by you I will reach the venue 1#MHU0F+E= on 2#0vdjYsduCRmUAg== . I shall also accompany 3#M33GTtI= . We shall then decide our next 4#wsfxOD4EB2u31YGYoA== .

See you till then.
bye
yours truely,
5#9hch1NI=
Date + counter will be used as UID after converting to 20180823 0032. Random Number between 2401 & 9999 can be generated if time is not known

Counter will start from 1.

Counter#Cipher will help decode message.

Since, the encrytped message is base64 formatted, it contains only A-Z a-z 0-9 + and / keyboard characters.

CAUTION! Epoch must be used for immediate time only. Epoch is for one block of plain text only (no counter). Device must be in sync to the Internet time. At least 1 second must pass before next XOR. Same device must be used OR half an hour gap. Epoch format: "epoch_value#cipher" (without quotes).



  • General code check: Message:
    `~!@#$%^&*()_+|-=\[]{};':",./< > ?
    (There is tab character between > and ? and a space character between < and >)
    password: pwd, uid: Hello, Ciphertext: S1lmhxPBmM0XKoDxLc40D1JyKrvJvJSvjGxmhQ/AbecElQ==
  • DISCLAIMER: I AM NOT RESPONSIBLE FOR ANY KIND OF DAMAGE(S) OR DATA LOSS DUE TO USE OF THIS SOFTWARE BY YOU OR THIRD PARTY. USE IT AT YOUR OWN RISK.
  • This software is created by Sunny Saini by assembling and modifying codes from various authors/organizations. For permissions of the respective codes, please see the html file in text viewer after downloading it from the hyperlink provided above. Thanks, Sunny Saini. 2018-08-26 08:43 IST.
    Message:
    Please donate to my account 1HBnhjJ7D4ErQiDB7CvgcMmuynze5S5A4v to support my long and arduous work.
    Signature:
    H0eLZM67eQ0uSGGPUjwXPAh2N0UlAkYpNzZ3YcnUusoGlgngZi5Zo6YoZfb1syfnPi52YR0zSao3odE4nmRaV9k=