Click here to Skip to main content
16,004,564 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Remote IT support, is it just me? Pin
Peter Adam18-Jun-24 23:18
professionalPeter Adam18-Jun-24 23:18 
GeneralRe: Remote IT support, is it just me? Pin
charlieg19-Jun-24 1:01
charlieg19-Jun-24 1:01 
GeneralMore Microsoft Nonsense Pin
Rick York17-Jun-24 17:00
mveRick York17-Jun-24 17:00 
GeneralRe: More Microsoft Nonsense Pin
charlieg17-Jun-24 19:02
charlieg17-Jun-24 19:02 
GeneralRe: More Microsoft Nonsense Pin
k505418-Jun-24 2:52
mvek505418-Jun-24 2:52 
GeneralRe: More Microsoft Nonsense Pin
Tiger1250619-Jun-24 3:16
Tiger1250619-Jun-24 3:16 
GeneralRe: More Microsoft Nonsense Pin
Peter Shaw24-Jun-24 11:02
professionalPeter Shaw24-Jun-24 11:02 
GeneralMore fun with PINs Pin
Peter_in_278017-Jun-24 16:39
professionalPeter_in_278017-Jun-24 16:39 
Thirtysome years ago I designed and built cryptographic modules for EFT processing. Early days...
In those days there were two main algorithms for PIN verification.
The IBM Derived PIN system used data from the mag stripe (some of the account number and other fields) to crunch up with DES and other things to generate the expected PIN, which was verified by direct comparison (at a processing system, since the terminal did not have the relevant DES keys etc).
The (more popular) VISA method took the PIN and some stripe data, crunched them up and came out with a 4 digit value which was compared with the PVV (PIN verification value) from the stripe (or issuer's database).
This can be viewed as an elaborate hash function (4 digit PIN -> 4 digit PVV)
I investigated its properties as a hash, and (re-)discovered some interesting statistics.
Obviously a 1:1 mapping could be fairly easily brute-forced, so information is "destroyed" to make it a one-way operation.
As a consequence, looking at the PVV space:
1/e (almost 37%) of PVVs are unreachable - no corresponding PINs
1/e have one PIN mapped to them
1/2e (over 18%) of PVVs have TWO PINs that map to them
1/6e (6%+) of PVVS have THREE PINs that map
1/24e (1.5%+) have FOUR ... and so on
So, (back in PIN space) there is a very real chance that your card has more than one PIN that would work. (Good luck finding the other(s)!)
That fact blew the mind of more than a few bean-counters and auditors....

With regard to OG's thread below, we had requests from card issuing institutions to NOT generate "simple" PINs.
In the end I think we discarded PINs with 4 consecutive digits or more than two repeats.

(A little repetition is good - my favoured PINs have two characteristics:
They can be keyed by laying my hand over the PIN pad and merely flexing fingers.
They include a repeat so even keen watchers wind up missing something.)

Some time later, customer selected PINs (and PIN change terminals) hit the streets...

Ah, nostalgia (ain't what it used to be)!
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

GeneralWordle 1,095 Pin
StarNamer@work17-Jun-24 13:56
professionalStarNamer@work17-Jun-24 13:56 
GeneralRe: Wordle 1,095 Pin
Shane010317-Jun-24 17:49
Shane010317-Jun-24 17:49 
GeneralRe: Wordle 1,095 Pin
GKP199217-Jun-24 18:00
professionalGKP199217-Jun-24 18:00 
GeneralRe: Wordle 1,095 Pin
OriginalGriff17-Jun-24 18:39
mveOriginalGriff17-Jun-24 18:39 
GeneralRe: Wordle 1,095 - 2 4 me Pin
pkfox17-Jun-24 20:34
professionalpkfox17-Jun-24 20:34 
GeneralRe: Wordle 1,095 Pin
ChandraRam17-Jun-24 22:57
ChandraRam17-Jun-24 22:57 
GeneralRe: Wordle 1,095 Pin
Cp-Coder18-Jun-24 1:48
Cp-Coder18-Jun-24 1:48 
GeneralOh Microsoft... if there was ever a reason to just ban you.... Pin
charlieg17-Jun-24 12:04
charlieg17-Jun-24 12:04 
GeneralRe: Oh Microsoft... if there was ever a reason to just ban you.... Pin
Mike Hankey17-Jun-24 12:46
mveMike Hankey17-Jun-24 12:46 
GeneralRe: Oh Microsoft... if there was ever a reason to just ban you.... Pin
charlieg17-Jun-24 17:11
charlieg17-Jun-24 17:11 
GeneralRe: Oh Microsoft... if there was ever a reason to just ban you.... Pin
David O'Neil17-Jun-24 14:47
professionalDavid O'Neil17-Jun-24 14:47 
GeneralRe: Oh Microsoft... if there was ever a reason to just ban you.... Pin
charlieg17-Jun-24 17:13
charlieg17-Jun-24 17:13 
GeneralRe: Oh Microsoft... if there was ever a reason to just ban you.... Pin
dandy7219-Jun-24 4:06
dandy7219-Jun-24 4:06 
GeneralGoogle & Firefox issues Pin
Choroid17-Jun-24 6:51
Choroid17-Jun-24 6:51 
GeneralRe: Google & Firefox issues Pin
Steve Raw17-Jun-24 7:52
professionalSteve Raw17-Jun-24 7:52 
GeneralRe: Google & Firefox issues Pin
Choroid18-Jun-24 5:32
Choroid18-Jun-24 5:32 
GeneralRe: Google & Firefox issues Pin
Steve Raw18-Jun-24 7:31
professionalSteve Raw18-Jun-24 7:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.