h2

command
v0.0.0-...-d9fc531 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: GPL-2.0 Imports: 3 Imported by: 0

README

CryptV2

This is my homework for the intensive Go programming course taught by Tero Karvinen http://terokarvinen.com/2020/go-programming-course-2020-w22/

I learned how to deal with negative numbers and modulus over here: https://stackoverflow.com/questions/43018206/modulo-of-negative-integers-in-go

I was granted permission by the teacher to improve my previous script in following ways for this homework: Separate code into functions, Implement reading Files and Handle Errors. What it does now is it takes a file then reads its contents and encrypts them with a word. Example Usage:

./cryptv2 -f path/to/file -k secretKey > encrypted.txt
./cryptv2 -f encypted.txt -k secretKey > decrypted.txt

To build this run go build cryptv2.go

CryptV2 Script

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