<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    分享java帶來的快樂

    我喜歡java新東西

    AES加密是key的字節數

    Exception in thread "main" java.security.InvalidKeyException: Invalid AES key length: 6 bytes
    at com.sun.crypto.provider.AESCipher.engineGetKeySize(DashoA13*..)
    at javax.crypto.Cipher.b(DashoA13*..)
    at javax.crypto.Cipher.a(DashoA13*..)
    at javax.crypto.Cipher.a(DashoA13*..)
    at javax.crypto.Cipher.a(DashoA13*..)
    at javax.crypto.Cipher.init(DashoA13*..)
    at javax.crypto.Cipher.init(DashoA13*..)
    at AES.main(AES.java:48)

    The problem is surely with the length of the key, I have tried different length but I am getting the same, could you please tell me the length of the key please, I am new to cryptography, I have made some research but still can't figure out the problem. Thanks a lot for your answers.

     
    AES supports 128, 192 and 256 bit keys, so the number of bytes needs to be 16, 24, or 32. Note that the latter two may not be available in all circumstances (as the comment in the "kgen.init(128)" line mentions). 

    posted on 2011-07-26 21:56 強強 閱讀(8608) 評論(0)  編輯  收藏 所屬分類: Java

    主站蜘蛛池模板: 久久亚洲精品无码| 亚洲精品福利你懂| 亚洲日本精品一区二区| 男男gvh肉在线观看免费| ww在线观视频免费观看| 久久精品国产精品亚洲下载| 国产99在线|亚洲| 亚洲第一视频在线观看免费| 亚洲欧美日韩中文二区| 777爽死你无码免费看一二区 | 国产成人啪精品视频免费网| 亚洲av无码一区二区三区不卡| 精品一区二区三区免费视频| 亚洲电影日韩精品| 性xxxxx免费视频播放| 亚洲性无码av在线| 免费国产污网站在线观看15| 99亚洲精品高清一二区| 日本h在线精品免费观看| 日韩精品视频在线观看免费 | 亚洲成人在线电影| 四虎国产精品免费视| 黄色毛片视频免费| 最新精品亚洲成a人在线观看| 国产JIZZ中国JIZZ免费看| 亚洲一区AV无码少妇电影☆| 国产精品免费αv视频| 亚洲天然素人无码专区| 拍拍拍又黄又爽无挡视频免费| 亚洲AV成人噜噜无码网站| 成人午夜免费福利视频| 亚洲日韩看片无码电影| 亚洲AV永久无码精品一百度影院| 全免费a级毛片免费**视频| 亚洲国产精品无码久久98 | 亚洲人成色7777在线观看不卡| 九九99热免费最新版| 亚洲一区AV无码少妇电影| 精品亚洲麻豆1区2区3区| 国产精品亚洲mnbav网站| 污污网站免费观看|