From 6d049df23c1ecab03725324a0139d036be8ea45e Mon Sep 17 00:00:00 2001 From: evanchen Date: Wed, 17 Nov 2021 01:46:39 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'#README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- #README.md | 13 +++++++++++++ README.md | 0 2 files changed, 13 insertions(+) create mode 100644 #README.md delete mode 100644 README.md diff --git a/#README.md b/#README.md new file mode 100644 index 0000000..7c90842 --- /dev/null +++ b/#README.md @@ -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) +``` \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index e69de29..0000000