I think it's longer then 6 digits. Long ago I did this and I remember it being a long code with dashes.
> long code with dashes
That sounds more like the FileVault recovery key ?
May have been, but I thought it was recovery key for lost iPhone pass code.