https://github.com/null-none/scrypt
Encrypt data with password
https://github.com/null-none/scrypt
encrypt go golang
Last synced: about 1 year ago
JSON representation
Encrypt data with password
- Host: GitHub
- URL: https://github.com/null-none/scrypt
- Owner: null-none
- License: mit
- Created: 2021-12-25T06:43:49.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-25T07:07:00.000Z (over 4 years ago)
- Last Synced: 2025-02-11T12:34:33.661Z (about 1 year ago)
- Topics: encrypt, go, golang
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scrypt
Encrypt data with password
```bash
go get -u golang.org/x/crypto/scrypt
go run scrypt.go
```
```
Enter password and text for encryption
---------------------
Password -> test
Data -> test
ciphertext: bc73454392d981a41fc3e36e8c9d547028ed02524bcfb7f112c683a8ac649786f56ffa591e0527a74d679b841d3e625f96541dc170a245c5df4818233e3f3d22
plaintext: test
```