---
title: "java.security.NoSuchAlgorithmException: DES SecretKeyFactory not available"
author: "simplehappy"
date: "2016-04-15T12:42:24Z"
tags: []
categories: ["编程语言"]
slug: "java-security-nosuchalgorithmexception-des-secretkeyfactory-not-available"
draft: false
lastmod: "2016-04-15T12:42:24Z"
id: 2291499
url: "https://simplehappy.iteye.com/blog/2291499"
---

Eclipse Java EE IDE for Web Developers. Version: Juno Service Release 2  Build id: 20130225-0426

apache-tomcat-7.0.42

jdk1.6.0\_38

调试一个web程序，SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES");报异常

 

换成jdk1.6.0\_27就OK了，这是怎么回事?