Search found 1 match
- Sun Sep 15, 2019 6:18 pm
- Forum: ESP32 Arduino
- Topic: Encrypt message by private key
- Replies: 0
- Views: 3278
Encrypt message by private key
I'm looking to encrypt a message with my private key but I can not do it. Somebody help me correct my code? #include "mbedtls/aes.h" #include "mbedtls/ssl.h" #include "mbedtls/pk.h" #include "mbedtls/entropy.h" #include "mbedtls/ctr_drbg.h" unsigned char encrypted[MBEDTLS_MPI_MAX_SIZE]; unsigned cha...