How to find out what algorithm [ encryption ] are supported by my JVM?

前端 未结 5 1318
执笔经年
执笔经年 2020-12-23 16:51

I am using Jasypt for encryption. This is my code:

public class Encryptor {    
    private final static StandardPBEStringEncryptor pbeEncryptor = new Standa         


        
5条回答
  •  南笙
    南笙 (楼主)
    2020-12-23 17:46

    If you don't have it installed already, then you need to install the JCE (Java Cryptography Extension) which provides support for the algorithms.

    You can see how to install here:

    http://download.oracle.com/javase/1.4.2/docs/guide/security/CryptoSpec.html#ProviderInstalling

    The library can be found here: http://www.oracle.com/technetwork/java/javase/tech/index-jsp-136007.html

提交回复
热议问题