更新 '#README.md'

master
evanchen 2021-11-17 01:46:39 +00:00
parent 661d831133
commit 6d049df23c
2 changed files with 13 additions and 0 deletions

13
#README.md Normal file
View File

@ -0,0 +1,13 @@
# XOR Encrypt
a simple xor encryption that encodes to base64 for url safe
## Usage
```go
msg := "test"
key := "key"
enc := Encrypt(msg, key)
dec, _ := Decrypt(enc, key)
fmt.Printf("%s -> %s -> %s\n", msg, enc, dec)
```

View File