naisho

(★ 69)

:email: :key: Send short encrypted message by GitHub ID

File Explorer

  • .gitignore
  • .travis.yml
  • encrypter.go
  • encrypter_test.go
  • github_info.go
  • github_info_test.go
  • mail.go
  • main.go
  • main_test.go
  • README.md
  • wercker.yml

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

openssl

View Details ▼

OpenSSL cryptographic toolkit.
Some subcommands such as `req` have their own usage documentation.

openssl genpkey -algorithm {{rsa|ec}} -out {{path/to/private.key}} -aes256

Generate a private key and encrypt the output file using AES-256:

openssl rsa -in {{path/to/private.key}} -pubout -out {{path/to/public.key}}

Generate the corresponding public key from the private key `private.key` using `rsa`:

openssl req -new -x509 -key {{path/to/private.key}} -out {{path/to/certificate.crt}} -days 365

Generate a self-signed certificate valid for a specified number of days (365):

// repository documentation