diff --git a/Projs/PD2/internal/utils/cryptoUtils/cryptoUtils.go b/Projs/PD2/internal/utils/cryptoUtils/cryptoUtils.go index e41fb80..1e64774 100644 --- a/Projs/PD2/internal/utils/cryptoUtils/cryptoUtils.go +++ b/Projs/PD2/internal/utils/cryptoUtils/cryptoUtils.go @@ -201,7 +201,7 @@ func (k *KeyStore) GetClientTLSConfig() *tls.Config { return tlsConfig } -func (k KeyStore) EncryptMessageContent(receiverCert *x509.Certificate, recieverId string, reciever, content []byte) ([]byte, error) { +func (k KeyStore) EncryptMessageContent(receiverCert *x509.Certificate, recieverId string, content []byte) ([]byte, error) { // Digital envolope // Create a random symmetric key dataKey := make([]byte, 32)