go_sconn

module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT

README

secure socket library

ecdh

Elliptic-curve Diffie–Hellman, ECDH implementation
function

  • generate ecdsa pub
  • generate ecdsa pub to .pem
  • load pem ro ecdsa pub
  • generate shared key with local private key and remote public key

key_exchanger

key exchange use ecdh
function

  • key exchange
  • master side
  • slave side

protocol

lib for making byte based protocol easy

sconn

Implementation of encrypted communication with a symmetric key
functions

  • net.Conn upgrade to secured conn (sconn.SConn)
  • encrypt write
  • decrypt read

snet

TODO::

A library that encrypts, self-signs, and verifies data
Integrity and confidentiality guaranteed

Directories

Path Synopsis
Package ecdh is Elliptic-curve Diffie–Hellman, ECDH lib.
Package ecdh is Elliptic-curve Diffie–Hellman, ECDH lib.
Package key_exchanger is based net package, key exchanged through net.Conn socket communication.
Package key_exchanger is based net package, key exchanged through net.Conn socket communication.

Jump to

Keyboard shortcuts

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