<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

    主站蜘蛛池模板: 亚洲精品线在线观看| 在线看片免费人成视频播| 亚洲国产精品lv| 免费吃奶摸下激烈视频| 182tv免费观看在线视频| caoporn成人免费公开| 亚洲午夜理论片在线观看| 亚洲黄网站wwwwww| 亚洲桃色AV无码| 亚洲国产成人久久精品99 | 亚洲乱码中文字幕综合234| 国产又黄又爽又猛免费app| 久久er国产精品免费观看2| 一级免费黄色毛片| 免费在线观看亚洲| 亚洲精品天堂成人片AV在线播放| 2022年亚洲午夜一区二区福利| 亚洲宅男天堂在线观看无病毒| www国产亚洲精品久久久| 韩国日本好看电影免费看| 91视频国产免费| 一个人免费观看在线视频www| 四虎影视在线影院在线观看免费视频| 国产成人精品免费大全| 一级毛片免费播放视频| 成人午夜免费视频| 曰批免费视频播放免费| 国产精品亚洲lv粉色| 亚洲日韩国产二区无码| 亚洲色大成网站www永久网站| 亚洲一本之道高清乱码| 亚洲av无码片区一区二区三区| 亚洲精品国产手机| 亚洲同性男gay网站在线观看| 18gay台湾男同亚洲男同| 亚洲精品偷拍无码不卡av| 亚洲欧洲自拍拍偷综合| 亚洲国产成人久久99精品| 亚洲a级片在线观看| 亚洲精品国产精品| 美女露100%胸无遮挡免费观看|