From 1b0f4d0fa5c780b3fcd9e51fe899a94ec1d4fe6b Mon Sep 17 00:00:00 2001 From: Pranav Singh Date: Sun, 18 Aug 2024 22:32:51 +0530 Subject: [PATCH] rm Signed-off-by: Pranav Singh --- internal/security/encrypt.go | 11 ----------- 1 file changed, 11 deletions(-) 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) -// }