Skip to content

Commit

Permalink
chore: spell checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sashwat-K committed Apr 29, 2024
1 parent 0b5015a commit efde6cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contract/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func Encrypter(stringText, encryptionCertificate string) (string, string, error)
fmt.Println(err)
}

encodedEncryptedPassowrd, err := enc.EncryptPassword(password, encCert)
encodedEncryptedPassword, err := enc.EncryptPassword(password, encCert)
if err != nil {
fmt.Println(err)
}
Expand All @@ -77,5 +77,5 @@ func Encrypter(stringText, encryptionCertificate string) (string, string, error)
fmt.Println(err)
}

return enc.EncryptFinalStr(encodedEncryptedPassowrd, encryptedString), gen.GenerateSha256(stringText), nil
return enc.EncryptFinalStr(encodedEncryptedPassword, encryptedString), gen.GenerateSha256(stringText), nil
}

0 comments on commit efde6cb

Please sign in to comment.