diff --git a/internal/security/encrypt.go b/internal/security/encrypt.go index 82489dd..c302df8 100644 --- a/internal/security/encrypt.go +++ b/internal/security/encrypt.go @@ -47,14 +47,3 @@ func (encrypt *Encrypter) Encrypt(text string) (string, error) { cfb.XORKeyStream(cipherText, plainText) return encrypt.Encode(cipherText), nil } - -// func Encrypter() { -// StringToEncrypt := "Encrypting this string" - -// // To encrypt the StringToEncrypt -// encText, err := Encrypt(StringToEncrypt, MySecret) -// if err != nil { -// fmt.Println("error encrypting your classified text: ", err) -// } -// fmt.Println(encText) -// }