Skip to content

Commit

Permalink
rm
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Singh <pranavsingh02@hotmail.com>
  • Loading branch information
theBeginner86 committed Aug 18, 2024
1 parent 172ca85 commit 1b0f4d0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions internal/security/encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
// }

0 comments on commit 1b0f4d0

Please # to comment.