问答详情
源自:1-1 JAVA-对称加密算法DES

KeyGenerator keyGenerator = KeyGenerator.getInstance("DES","BC")报错

KeyGenerator keyGenerator = KeyGenerator.getInstance("DES")没有问题,一加上“BC”就报错,如下:http://img.mukewang.com/57ce8e000001cc4513430293.jpg

提问者:Auroras 2016-09-06 17:36

个回答

  • 汉江怪人
    2016-09-16 18:38:07

    BC环境

  • Xiao虾米
    2016-09-08 20:48:33

    没配BC的环境http://baike.baidu.com/link?url=msu5-W0DK3MI6166sefYX3W0jY6sG01JhWV-NkOkZE0a-1ppdzC1t2RAT6gHJlrvhIwRuXc7Ri4XBkUXRah5k_