Skip to content

Commit

Permalink
[feature] Remove duplicate content
Browse files Browse the repository at this point in the history
  • Loading branch information
houseme committed Oct 8, 2021
1 parent eb61340 commit 3ff753d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1,819 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## 特别说明

based on https://github.com/farmerx/gorsa, https://github.com/yuchenfw/gocrypt Optimized the following points for
based on [GoRSA](https://github.com/farmerx/gorsa), [GoCrypt](https://github.com/yuchenfw/gocrypt) Optimized the following points for
packaging:

- Optimization of public and private keys requires registration and initialization in advance.
Expand All @@ -21,10 +21,12 @@ packaging:

## get & import

```txt
```go
go get -u -v github.com/houseme/gocrypto
```



## 使用方法

### 1.构建需要加解密的类型handle
Expand Down Expand Up @@ -81,7 +83,7 @@ secretInfo := rsa.RSASecret{

### 加密、解密、签名、验签

#### (1)RSA加密
#### (1)RSA加密

加密指定字符串,并以指定编码格式输出结果

Expand Down Expand Up @@ -157,4 +159,4 @@ if err != nil {
return
}
fmt.Println("decrypt data :", decrypt)
```
```
63 changes: 0 additions & 63 deletions gorsa/gorsa.go

This file was deleted.

Loading

0 comments on commit 3ff753d

Please sign in to comment.