Aes key length significance/implications
Posted
by
cppdev
on Stack Overflow
See other posts from Stack Overflow
or by cppdev
Published on 2010-12-24T08:27:48Z
Indexed on
2010/12/24
16:54 UTC
Read the original article
Hit count: 254
aes
|aes-encrypt
Hi,
I am using a AES algorithm in my application for encrypting plain text. I am trying to use a key which is a six digit number. But as per the AES spec, the key should be minimum sixteen bytes in length. I am planning to append leading zeros to my six digit number to make it a 16 byte and then use this as a key.
Would it have any security implications ? I mean will it make my ciphertext more prone to attacks.
Please help.
© Stack Overflow or respective owner