SignVerify

command
v0.0.0-...-ec33fae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 9 Imported by: 0

README

Description

How sign & verify works

To do

Generate key pair

openssl genrsa -aes256 -out private.key 4096
openssl rsa -in private.key -pubout -out public.key

private.key is Private Key and public.key is Public Key. For only demo purpose, I'm using passphrase 1234. If you want to change, you need to change on source as well

msg.txt is the message output from make sign and sig.txt is the signature itself. Use make verify to verify those message.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL