Categorygithub.com/HalimACeylan/goenc
repositorypackage
0.0.0-20240610011313-8dde02c22676
Repository: https://github.com/halimaceylan/goenc.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

GoEnc

Encryption Software which supports existing algorithms with GO

introduction

The goal was to write a tool in Golang that Supports Modern Encryption Algorithms. Supported Methods: Hashing, Symmetric Encryption, Asymmetric Encryption Supported Algorithms: MD5, SHA-1, SHA-256, SHA-512, AS-128 , AES, BLOWFISH, ElGamal,ECC, RSA

Installation from source code

go build goenc.go

./goenc

Usage of flags

  • -asymmetric is the flag for the use of asymmetric encryption
  • -symmetric is the flag for the use of symmetric encryption
  • -hash is the flag for use of hashing
  • -algorithm is for which algorithm will be used such as "sha1" or "aes" depending on the encryption type
  • -operation is for "encryption", "decryption", "generate", "sign" for only ecc sign a document, "verify" for only ecc for verifying the signature
  • -f is for the input file it may be an encrypted file or plain text
  • -key depends on your operation, and algorithm it can be a private, public key, or binary key for symmetric encryption
  • -sig is you signed a document with "ecc" encryption you can validate the signature of the document with a signature file

Algorithms

Hashing

  • MD5
  • SHA-1
  • SHA-256
  • SHA-512

Asymmetric Encryption

  • RSA
  • ECC
  • Elgamal

Symmetric Encryption

  • AES
  • Blowfish

Implementation

Asymmetric

https://github.com/HalimACeylan/goenc/assets/64225727/95efc83b-8ed1-42e6-a1c5-ab70c4eec65f

Symmetric

https://github.com/HalimACeylan/goenc/assets/64225727/cabd967a-396a-4ba8-9f34-9721a8c16bf7

Hashing

https://github.com/HalimACeylan/goenc/assets/64225727/f7d4fed0-8459-48c4-92d6-d3839d9c737c