美文网首页
Jasypt加密

Jasypt加密

作者: _FireFly_ | 来源:发表于2023-09-18 17:31 被阅读0次

    原文出自:https://zhuanlan.zhihu.com/p/258931087

    1 概述

    Jasypt是一个加密库,Github上有一个集成了Jasypt的Spring Boot库,叫jasypt-spring-boot,本文演示了如何使用该库对配置文件进行加密。
    

    2 依赖

    首先添加依赖:

    <dependency>
        <groupId>com.github.ulisesbocchio</groupId>
        <artifactId>jasypt-spring-boot-starter</artifactId>
        <version>3.0.3</version>
    </dependency>
    

    相关文章

      网友评论

          本文标题:Jasypt加密

          本文链接:https://www.haomeiwen.com/subject/krigvdtx.html