Not sure if this is the right forum in which to post this question so feel free to suggest others.
Is it normal for the ciphertext from a string encrypted with ConvertFrom-SecureString with keys of different lengths used in the -Key param to:
Example:
The following is the output from the same string encrypted with keys of varying lengths, with the first 36 characters separated from the rest of the string. For the ciphertext from the 256bit key, I've separated out the first two patterns.
Keep in mind that I've a beginner's level of encryption knowledge when you reply.
Is it normal for the ciphertext from a string encrypted with ConvertFrom-SecureString with keys of different lengths used in the -Key param to:
- have the same beginning 36 characters?
- display repeated patterns in the text?
Example:
The following is the output from the same string encrypted with keys of varying lengths, with the first 36 characters separated from the rest of the string. For the ciphertext from the 256bit key, I've separated out the first two patterns.
Code:
265bit
76492d1116743f0423413b16050a5345MgB8 AFUA cwBk ACsA WgBRAHoAZwBFAEoAcABMAFEAbgBnAHcAbQAyAHMAQQByAHcAPQA9AHwAZgA2ADkANwBlADEAOABjADQANAA2ADUANQA4ADQANABlAGEAZQA5ADkANAA4ADQANQA1AGYAZQBmADcAZgAzADIAMAAwADIANQBiAGIAZQBjADAAOQA1AGEAMABiAGUANwBjAGMAMABiADAANgA2AGMANQAyADgAZQBlADMANgBjADYANABjADUAYQA2ADgAZQBlADcAZQA2AGQAZgAyADIANQAxADYANgA0ADUAZgA1ADMAZAAyADcAYgAwAGIA
192bit
76492d1116743f0423413b16050a5345MgB8 AE4AdwB0AFUAYwBmAFIAMwBSAHgANAA4ADEAZwBQAFQAaABXAGUARwBUAHcAPQA9AHwAZgAxADMAOQAwAGEAYwBmADMANAA1ADIANQA1ADcANgBjADcAYwA3ADEAMQBhADAAMgBkADcANABkADUAMABjADgANwBkADYAOQA2ADAAYgA1ADEAMQAyADAAMQA5ADYAOAAzADEAZgAyADkANQA1ADIAOAAxAGIANQA5ADAANAAwADEAMQBhADIAMQBmADgANgA3ADcAMgBlAGQANQBiAGEAYgA1ADQAYQAxAGEAMQA0AGUAZABiADIAMABiAGUA
128bit
76492d1116743f0423413b16050a5345MgB8 AC8AbQB2ADQAQwB4AHcAOQBrAEUAaQBlAGcAVAB4AHYASQBtAGkAcQBnAHcAPQA9AHwAZQA5ADIAMAAwAGEAZgAwAGYANgA4AGMAMQBlAGIAOQBlADMANgAyAGQAYgAxAGYANwAxADIAMQA5ADYANwBiAGQAZAA5ADgAMwA1ADkANAAxAGMANwBhADgAMQA0ADkANQA1ADQAMABlAGYAZgAwADUAYgAyAGMAMgBkAGUAZABlADYAYQBiADAAYQAxADYAMQA3AGIAOABjAGIAMQAxAGMAOAAwADQAYQA1ADkANgAxADgANAA1ADQAOQBmADEA
Keep in mind that I've a beginner's level of encryption knowledge when you reply.