Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 471 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 471 Bytes

script-go-encrypt-string

Example

git clone [email protected]:virsas/script-go-encrypt-string.git
cd script-go-encrypt-string
go run main.go -key="64653553507a37394d716341724553557a4237773658657449647859744d3270" -encrypt="password"
Entered string: password
Encrypted string: 026d94a6316656dd9d1425a7f61e226124707c2f7139fc20fc9c82ce5af4d5484bd7cb1b
Decrypted string: password

Key

To generate key, check https://github.com/virsas/script-go-encrypt-key