Sanskritize Your Passwords

A couple of years back, I had posted something on creating complex yet recallable passwords by transposing letter shapes on the standard available keyboard. We will continue along those lines, in the timeless manner of using language alone to build individually understandable complexity, which is a delicate balance of chaos and order. Language in itself is ordered complexity, but its rules can be flouted, as like how a child would and chaos be quickly created. Your mental space resides somewhere in that region.

The most frequently used passwords, which are typed in every day ritualistically, quickly become entrenched in one’s muscle memory. This becomes apparent when one returns to the machine after a long break, or while trying it on a different equipment, or when the UI or the workflow to typing in that password has changed ever so slightly. But, it is quick to recall the orchestration of one’s fingers, and even override the old pattern with a few practise runs. This is the first thing one might do for frequently used passwords, even before referring to the hint or other recall methods.

But when that doesn’t work, hints are used – these can be straightforward mentions of what the password is, or are equally cryptic. Usually these strings are only apparent to the users themselves, or a small number of people. Even in this case, one’s ability to recall the details is crucial, and this bit often fails.

Using Native Language

For bilingual people, and especially for people familiar with different scripts, new avenues of creating and remembering passwords open up. As you go about your life, you are encrypting and decrypting information in the languages you know, a non-stop process of mental transliteration and translation to the language you think in.

Let us assume that the password or hint string is ‘121212’. Here is how someone who knows both Hindi and English can recall this string:

Legible to English Speaker:

Onetwoonetwoonetwo, twelvetwelvetwelve…

Vntoovntoovntoo,  twlvtwlvtwlv….

Legible to Hindi Speaker:

एकदोएकदोएकदो, बारहबारहबारह…

Legible to Bilingual person:

Hindi in Latin: baarahjanvarybaarah, baarahbaarahbaarah, ekdoekdoekdo, eksauikkisdosaubaarah..

English in Devanagari: वनटूवनटूवनटू, ट्वेल्वट्वेल्वट्वेल्व, वनट्वेन्टीवनटूट्वेल्व..

Hindi in Latin as a hint: raajakajanmdin, saalgirah, duniyakaannt..

English in Devanagari as a hint: दकिंग्ज़बर्थडे, एनिवर्सरी, डूम्सडे..

For shorter strings – like 2j2, the letters used to spell its characters themselves (teedabluohjeteedabluoh) could be transliterated to: टीडब्लिऊओजेटीडब्लिऊओ

Hieroglyph on your tongue

As obscure tongues have always been used by inner circles to maintain knowledge and secrets, we will explore another such layer of complexity with ancient languages. These languages continue to live in modern languages and yet they are considered dead. Since we are using Devanagari and Latin scripts here in the examples, let us introduce Sanskrit which lets us harness the power of long compound words and well defined conjunction and word joining sound rules. We can combine any word with another (while disregarding grammar). We can even transliterate English terms and compound them with other words as if they were Sanskrit. The examples here might be absurd, but they are only bound by the limits of absurdity of their creator’s inner monologue.

news speed light city -> वार्ता त्वरा प्रकाश नगर -> वार्तात्वराप्रकाशनगर -> vaartatvaraaprakaashnagar

fast typing friend -> तरस्वत् लेखः मित्रम् -> तरस्वल्लेखोमित्रम् -> tarasvallekhomitram

These are not foolproof solutions and have their own vulnerabilities – anyone who recognizes the scripts and has an internet connection could crack these without even knowing the languages. But, this method does help in obtaining strings which are probably do not exist in a dictionary. Because the Latin script is limited in capturing the correct pronunciation on regular keyboards, and because people transliterate the same word differently, writing these without space helps make them more confusing except to the person who has created these strings.

This process, thus, can be layered within a stack of other obfuscation methods. You can create a phrase, translate it to Sanskrit, and transliterate the sentence back. Utilizing physical media and strategies related to the medium will definitely help in making this effective.

https://en.wikipedia.org/wiki/Sanskrit_compound
https://en.wikipedia.org/wiki/Sandh
https://learnsanskritlanguage.com/grammar/starting-out/making-words/compound-words/
https://openpathshala.com/sandhi-in-sanskrit
https://learnsanskrit.org/start/nouns/sandhi/
https://greenmesg.org/sanskrit_online_tools/sanskrit_sandhi_tool.php
https://www.learnsanskrit.cc/index.php?mode=3&direct=au&script=hk&tran_input=city

Redesigning The Indic Keyboard

https://www.instagram.com/p/B_rkWKUgM0m/?igshid=7hhwdaxbe77q

 

I have always found it hard to learn and use the InScript keyboard (standardized keyboard layout for Indian scripts), and even before I could start learning it, the transliteration keyboard (Google Input Tools) was what helped me bridge the gap and type in Hindi using the English alphabet. This is one of the ways I text my family, we represent the two different approaches to typing in our language – where one has become accustomed to the visually cluttered Indic keyboard as they had the chance to start afresh, while the other was brought up communicating in Hindi using the English alphabet, and all Google had to do was to recognize those words and replace them with their Hindi equivalents.

InScript Keyboard:

If we look at the InScript keyboard, (which is a layout that rides on top of the QWERTY keyboard layout) one can appreciate the effort put into condensing so many characters into a limited space, but that also makes us question whether this layout really was really ‘designed’.

The decision to cluster the vowels to the left of the keyboard is a wise one, but then having the consonants span the alphabet, number and symbol keys is counter to this effort.

For a key offering multiple inputs, there are two ways to access the secondary or tertiary character it allows for, which is by either pressing the Shift or the Ctrl key before the desired key. Thus, there are additional steps introduced to access the alternate key-space which has regularly used characters in it, which is otherwise reserved for the lesser-occurring capital characters for English.

The vowels offer their corresponding diacritics separately for conjunction with consonants in this alternate input space – using up more retail space in the process.

Also, certain commonly occurring consonant-consonant conjunction diacritics are given their own key inputs, while certain common conjunctions have their own keys.

For someone who is trained in using these keyboards, I am sure that it is effortless to input text in Hindi or any other Indic language – the muscle memory would definitely make a few additional Shift keys pressed insignificant – but thinking of the versatility of the design, it fails in the digital space – which does offer countless infinite and alternate layouts to be added to the same area in line with the Inscript layout, but then it also clamps down on the very strengths and capabilities of the intangible medium. Also, I see it to be very difficult to learn from an accessibility perspective for users with low-vision, where a single key has multiple character input options with numbers and symbols sharing space with regular characters.

 

Other Solutions:

There has been a huge improvement over these drawbacks when it comes to intangible input interfaces – these on-screen keyboards, some of which have tried to bypass the problems of layout with excessive characters and extra key inputs to generate a single character, are discussed below:

The Google Indic Keyboard removes the clutter by arranging all the vowels in a single row at the top – these change based on the consonant selected, after which they display that consonant with the vowel diacritic. The numbers, characters and symbols are each given their own alternate layout space.

The Swarachakra keyboard also decreases the number of taps by offering the alternate characters and their corresponding conjunctions with a long tap on a particular key.

I also came across the research done on physical keyboard layouts such as Keylekh and Barakhadi series, both of which are derived from user study data. However, if a keyboard becomes too different in its layout from the norm which is QWERTY, its manufacturing and, ultimately, ubiquity become a concern.

After looking at all of the solutions, I saw potential in a layout that can work for both intangible as well as tangible interfaces. There have, of course, been some designs suggested to improve the input rate (the word per minute typing speeds for Indic languages are way lower than that for English, more so for digital interfaces). The reality is that designing a keyboard absolutely separate from what is the norm is an uphill battle, thus, sticking to the QWERTY format is a practical and an important constraint.

The Concept:

This concept improves the layout and interaction of a Hindi/Devanagari input keyboard (but can be applied to any other Indic script).

– Like in the existing InScript layout, the vowels are grouped to the left and the consonants to the right.

– As there is no uppercase, characters accessible with a Shift press are the ones with a lower occurrence within that key pair (overall needs to be better optimized and rearranged based on character-use frequency data).

– Removed separate keys for the maatraa or vowel diacritics, which are now added by their corresponding vowel keys when pressed after a consonant input.

– If the vowel follows a consonant as a separate character, a special dis-connector key is pressed in between the two inputs. This interaction is inverse to the conjunction key which is usually pressed in other designs.

– Consonant conjunctions occur the same way as in existing designs.

Further Work:

I will try to create a digital prototype to get more feedback on this idea.

This layout works on a standard QWERTY keyboard layout and can even be tested/demonstrated physically by reassigning the Unicode values for the keys.

An extension of this exercise would be to look at a keyboard which enables physical micro-interactions, at the key-level, that would change the character diacritic (suggested by Shiveesh).

Devneogari

https://www.instagram.com/p/B-n4iVEAc6f/?igshid=h1lpyq71y18c

The craving for home nowadays, without the distractions of ‘normal’ life, grows even stronger and ends up manifesting in small actions I often catch myself doing. I realized how long had it been since I wrote in my own language (the last attempt was over a year back when I started signing my name in Hindi) and on a whim this time, I started scribbling the alphabet. I must now admit that I am ashamed of having forgotten the order of the varnamala of my own mother tongue. That ranks pretty high in the stages of de-racination – which is a war I have been fighting with myself lately. 

As someone interested in languages, I started thinking of the influences Sanskrit had on the Eastern Asiatic Languages and wondered if the former’s script could borrow from the aesthetics of the latter – say, Hangul or Japanese. Also considered the scenarios where Devanagari could be written vertically, which would be possible if there wasn’t the connecting upper line for words (called a shirorekha).

As I started writing line after line without the shirorekha, I felt that a lot of the curves could be reduced to straight lines and angles – the upper line also served the purpose of aesthetically balancing all the curves and lines binding them into one complex shape, which was the word. This shape is not only was the word but its exact pronunciation. The script now looked different yet familiar, but the words were difficult to partition so I introduced forward-slashes after every word as separators where sentences would end with a double forward-slash. Filled a couple of pages with Kabir’s couplets, which did briefly take me back to the Hindi classes in school.

20200504_200136

While I was at it, I could not help but think of Blade Runner 2049, which is an amazing movie to watch for anyone who is in the creative line of work – the movie is entirely a visual and aural inspiration board (will write a separate post about the it sometime). It featured Hindi in multiple shots, shown as one of the many languages of the society of the future – which does make sense given how much it is neglected despite being one of the largest spoken languages in the world. The representation was fair, not over-compensating as it shared an equal footing with other languages of the world, and most importantly, it was correct – because the worst thing to see, when non-European languages are being represented in western entertainment, is a cringe-worthy mistake, where you know that someone did not bother to run a check on the content after translating it on Google.

And so, I envisioned this script to be something of the future, in the brightly lit signs dotting a dystopian megapolis, where every important street would look like Paharganj on steroids.

Observations/Feedback:

My roommate could read it right away with some confusion in certain characters I had taken too much creative liberty with, other friends mentioned that connecting characters without the upper line was difficult for them. I also noticed that the character sizes looked really odd, their differences now accentuated by the absence of the upper connector line, and this definitely needed a touch of a typographer – someone who knew their kerning etc.

I spent three hours on the phone with Shiveesh the next day – an intense discussion about culture and languages of India. He made an interesting remark about Devanagari and why ridding it of its upper connector-line does not make sense to him, something which I do partly agree with – ‘the organic shapes..meaning curves and all.. give a unique characteristic look to Devanagari because it was developed on leaves as a medium, and the typography needed a structure that had visual contrast as it cuts against the grain.’

True. But this also brings up the question, which is – should the script also evolve with the medium that carries it, or should it remain true to its original medium and continue unchanged?

Could Devanagari take on a new skin for seven-segment displays and/or machined/laser-etching applications?

Conclusion:

I think this style of writing, though more difficult to decipher compared to the existing script, has its benefits – in signage limited to a word or two, vertically writing in Hindi, and etching of Devanagari by machines where curved toolpaths add to cost and time of finishing a part. There might also be benefits to the volume of ink saved in paperwork against dense Devanagari script (again, a new medium) with its curves and shirorekha – the latter could be literally looked at as striking-through each word.

But since this was just another weekend design exercise, yet again overthought, it definitely needs to be more legible with the right touch of a typographer – because what is the use of even a hundred the benefits when most people cannot read it.

Ho Gayi Peer Parvat

An attempt at translation of one of Dushyant Kumar‘s most well-recognized poems.


 

It must,

This glacial pain of the mountains

Must melt,

An outpour Gangetic,

Something pure and holy.

 

They must,

These walls, these concrete curtains

Must tremble,

Behind them we yearned

for quakes, not storms

 

It must,

In streets, alleys, cities and hamlets

Must march,

Every corpse, as the living

A dance fervorous.

 

They must,

These times

Must change,

In this influence,

My only offence.

 

But she must,

In our hearts

Must burn,

This fire

If not in mine, then in yours.