mybatis-encrypt-plugin | mybatis data desensitization and field encryption

 by   chenhaiyangs Java Version: 1.0.0 License: No License

kandi X-RAY | mybatis-encrypt-plugin Summary

kandi X-RAY | mybatis-encrypt-plugin Summary

mybatis-encrypt-plugin is a Java library. mybatis-encrypt-plugin has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub, Maven.

mybatis data desensitization and field encryption and decryption plugin
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mybatis-encrypt-plugin has a low active ecosystem.
              It has 119 star(s) with 56 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 6 open issues and 2 have been closed. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of mybatis-encrypt-plugin is 1.0.0

            kandi-Quality Quality

              mybatis-encrypt-plugin has 0 bugs and 0 code smells.

            kandi-Security Security

              mybatis-encrypt-plugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              mybatis-encrypt-plugin code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              mybatis-encrypt-plugin does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              mybatis-encrypt-plugin releases are not available. You will need to build from source code and install.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              mybatis-encrypt-plugin saves you 519 person hours of effort in developing the same functionality from scratch.
              It has 1218 lines of code, 93 functions and 36 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed mybatis-encrypt-plugin and discovered the below as its top functions. This is intended to give you an instant insight into mybatis-encrypt-plugin implemented functionality, and help decide if they suit your requirements.
            • Intercept the result set
            • Get sensitiveBindedByResult map
            • Get sensitive field map
            • Gets sensitive by result map
            • Intercept the invocation
            • Handles encrypt field
            • Process JSON field
            • Process parameters
            • Overrides the Method
            • Determines if the given path is 3 or 3
            • Decrypt value
            • Convert hex string to byte array
            • Encrypt a string value
            • Generate a secret key
            • Returns the address portion of the address
            • Rewrite email address
            • Rewrite the name
            • Process the id card
            • Returns the agreement number
            • Overrides the content of the header
            • Populates the bank card
            • Overriden by appending a phone number
            • Process the snap card
            • Overrides the handler method
            • Wrap plugin
            • Register a sensitive type handler
            Get all kandi verified functions for this library.

            mybatis-encrypt-plugin Key Features

            No Key Features are available at this moment for mybatis-encrypt-plugin.

            mybatis-encrypt-plugin Examples and Code Snippets

            copy iconCopy
                
                
                    com.github.chenhaiyangs
                    mybatis-encrypt-plugin
                    1.0.0
                
            
                /**
                 * 插件配置
                 */
                @Configuration
                public class EncryptPluginConfig {
                
                    //加密方式
                    @Bean
                    Encrypt encryptor() throws Ex  
            copy iconCopy
            标记在类上,声明此数据库映射的model对象开启数据加密和脱敏功能。
            
            标记在字段上,必须是字符串,声明此字段在和数据库交互前将数据加密。
            update,select,insert 都会将指定的字段设置为密文与数据库进行交互。
            在select的结果集里,此字段会自动解密成明文。因此,业务是无感知的。
            
            标记在字段上,必须是字符串。
            声明此字段在入库或者修改时,会脱敏存储。
            SensitiveType是脱敏类型,详见脱敏类型章节。
            
            一般考虑如下场景。
            用户的手机号需要在数据库存储为加密的密文,为  
            copy iconCopy
                public enum SensitiveType {
                    /**
                     * 不脱敏
                     */
                    NONE,
                    /**
                     * 默认脱敏方式
                     */
                    DEFAUL,
                    /**
                     * 中文名
                     */
                    CHINESE_NAME,
                    /**
                     * 身份证号
                     */
                    

            Community Discussions

            No Community Discussions are available at this moment for mybatis-encrypt-plugin.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mybatis-encrypt-plugin

            You can download it from GitHub, Maven.
            You can use mybatis-encrypt-plugin like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the mybatis-encrypt-plugin component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/chenhaiyangs/mybatis-encrypt-plugin.git

          • CLI

            gh repo clone chenhaiyangs/mybatis-encrypt-plugin

          • sshUrl

            git@github.com:chenhaiyangs/mybatis-encrypt-plugin.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Java Libraries

            CS-Notes

            by CyC2018

            JavaGuide

            by Snailclimb

            LeetCodeAnimation

            by MisterBooo

            spring-boot

            by spring-projects

            Try Top Libraries by chenhaiyangs

            rocketmq-read

            by chenhaiyangsJava

            ruubypay-ratelimit-bucket4j

            by chenhaiyangsJava

            web-validation-framework

            by chenhaiyangsJava

            easy-gateway

            by chenhaiyangsJava

            ruubypay-configx-package

            by chenhaiyangsJava