Skip to content

Very basic file encrypt/decrypt tools by inversing the bytes

Notifications You must be signed in to change notification settings

abetobing/ezcrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ezcrypt

A very basic file encryption/decryption.

Example

package main

import (
	"github.com/abetobing/ezcrypt"
	"os"
)

func main() {
	file, err := os.Open("test.txt")
	if err != nil {
		return
	}
	encfile, err := os.Create("encrypt.txt")
	if err != nil {
		return
	}
	decfile, err := os.Create("decrypt.txt")
	if err != nil {
		return
	}
	ezcrypt.Encrypt(file, encfile) // encrypt file
	ezcrypt.Decrypt(encfile, decfile) // decrypt file
}

About

Very basic file encrypt/decrypt tools by inversing the bytes

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages