mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-07 10:07:21 +00:00
Merge pull request #6156 from ShrCaJesmo/patch-5
Fixing steps to pad hash - formatting correction
This commit is contained in:
commit
3b830e4173
@ -67,10 +67,10 @@ So, as an example (this is not a device hash, but it's misaligned unpadded Base6
|
||||
Now for the padding rules. The padding character is "=". The padding character can only be at the end of the hash, and there can only be a maximum of 2 padding characters. Here's the basic logic.
|
||||
|
||||
- Does decoding the hash fail?
|
||||
- Yes: Are the last two characters "="?
|
||||
- Yes: Replace both "=" with a single "A" character, then try again
|
||||
- No: Add another "=" character at the end, then try again
|
||||
- No: That hash is valid
|
||||
- Yes: Are the last two characters "="?
|
||||
- Yes: Replace both "=" with a single "A" character, then try again
|
||||
- No: Add another "=" character at the end, then try again
|
||||
- No: That hash is valid
|
||||
|
||||
Looping the logic above on the previous example hash, we get the following permutations:
|
||||
- Q29udG9zbwAAA
|
||||
|
Loading…
x
Reference in New Issue
Block a user