Skip to content

Commit d3c7d28

Browse files
author
Weasley
committed
- make a solution for using encrypted fields as query criteria
1 parent beac483 commit d3c7d28

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ alphahub:
5555
<dependency>
5656
<groupId>io.github.weasley-j</groupId>
5757
<artifactId>mybatis-encrypt-spring-boot-starter</artifactId>
58-
<version>1.0.0</version>
58+
<version>1.0.1</version>
5959
</dependency>
6060
```
6161

@@ -419,5 +419,5 @@ Finally, you can get some results like this:
419419

420420
## 1 How can I use some encrypted fields as query criteria?
421421

422-
- You can use this `API` `io.github.weasleyj.mybatis.encrypt.core.EncryptStrategy#covert` to convert your plain bean as cipher bean (Only converts the field annotated by annotation `io.github.weasleyj.mybatis.encrypt.annotation.Encryption`), Here is an Example
422+
- You can use this `API` [`EncryptStrategy#covert`](https://github.com/Weasley-J/mybatis-encrypt-spring-boot-parent/blob/c779072994a064f6663966b79022bb0f684841fa/mybatis-encrypt-spring-boot-starter/src/main/java/io/github/weasleyj/mybatis/encrypt/core/EncryptStrategy.java#L29) to convert your plain bean as a cipher bean (Only converts the field annotated by annotation [`@Encryption`](https://github.com/Weasley-J/mybatis-encrypt-spring-boot-parent/blob/8500f7454d5ec150b5ece6549f4608b38183af19/mybatis-encrypt-spring-boot-starter/src/main/java/io/github/weasleyj/mybatis/encrypt/annotation/Encryption.java#L20)), [Here is an Example that you can reference](https://github.com/Weasley-J/mybatis-encrypt-spring-boot-parent/blob/c779072994a064f6663966b79022bb0f684841fa/mybatis-encrypt-spring-boot-tests/src/test/java/com/example/EncryptionTestsAppTests.java#L101).
423423

mybatis-encrypt-spring-boot-starter/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
<groupId>io.github.weasley-j</groupId>
1313
<artifactId>mybatis-encrypt-spring-boot-starter</artifactId>
14-
<version>1.0.0</version>
14+
<version>1.0.1</version>
1515
<name>mybatis-encrypt-spring-boot-starter</name>
16-
<description>A spring-boot starter make it easy to encrypt and decrypt some column of database tables, support for
17-
user custom encryption algorithms
16+
<description>A spring-boot starter to make it easy to encrypt and decrypt some column of database tables, supports for
17+
user custom encryption algorithms, you can even use some encrypted fields as query criteria.
1818
</description>
1919
<url>https://github.com/Weasley-J/mybatis-encrypt-spring-boot-parent</url>
2020

mybatis-encrypt-spring-boot-tests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<dependency>
4949
<groupId>io.github.weasley-j</groupId>
5050
<artifactId>mybatis-encrypt-spring-boot-starter</artifactId>
51-
<version>1.0.0</version>
51+
<version>1.0.1</version>
5252
</dependency>
5353

5454
<dependency>

0 commit comments

Comments
 (0)