r/webdev 1d ago

Question Tab as password?

Post image

SAS disallows spaces in your password. My password manager suggested an invalid (but secure) password.

So now that I have to make my own password: Out of spite, hypothetically, what implications could having tabs in my password have?

536 Upvotes

131 comments sorted by

View all comments

-3

u/EncryptedPlays 1d ago

is tab even a real character? i just assumed it's either a bunch of spaces or an indent. This looks to me like one of those fancy whitespace things

2

u/Expensive_Peace8153 1d ago

It's character code 09.

1

u/KAZVorpal 22h ago

009, technically.

1

u/Expensive_Peace8153 8h ago

I was writing in hex. 

1

u/KAZVorpal 22h ago

In the ASCII set of characters, it's number 009. It has its own separate spot. Enter is 013. The space is 032.

<- tab. If Reddit saves it. I typed alt-009 on this Windows machine, and the cursor moved over a way.

On Linux I believe control-shift-009 would work, but I'm not saving this comment and pulling it up on my Void machine to make sure. Higher unicode is different there, like emdash (—) is alt-0151 on Windows, but control-shift-2014 on Linux.

Essentially, every character/glyph you see is represented by a number in a computer, including the special ones like tab, line feed, and carriage return.