开发者

How many bytes are IV and Keys for AES?

I'm using AESCryptoServiceProvider in C#/.Net Framework and I'm wondering how large, in bytes, the IV and Keys are. I'm pretty sure that this class follows the specifications of AES so if anyone has开发者_如何转开发 any ideas, I'd be happy to hear it :)


The IV size is 16 bytes, and the default key size is 32 (16 and 24 are also allowed) You can use the BlockSize, KeySize, LegalBlockSizes, and LegalKeySizes properties, respectively. The API provides the value in bits.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜