Discover Packages
github.com/heiskane/golang
h2
command
Version:
v0.0.0-...-d9fc531
Opens a new window with list of versions in this module.
Published: May 29, 2020
License: GPL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
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
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.