You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, we take char *enc_key_.. which will be the output buffer to hold the 44-length shared aes encryption key which would be encrypted in base64.
I think this should be refactored to unsigned char *sharedenckey which will hold a buffer of size 32 bytes which will hold a non-base64 encoded AES key. That way, we can save the operation of 1. encoding it to output (internally in the function) and 2. decoding the key for use (externally by the caller)
The text was updated successfully, but these errors were encountered:
This is the header file for
encryption_key_helpers.h
at the moment.At the moment, we take
char *enc_key_..
which will be the output buffer to hold the 44-length shared aes encryption key which would be encrypted in base64.I think this should be refactored to
unsigned char *sharedenckey
which will hold a buffer of size 32 bytes which will hold a non-base64 encoded AES key. That way, we can save the operation of 1. encoding it to output (internally in the function) and 2. decoding the key for use (externally by the caller)The text was updated successfully, but these errors were encountered: