CPC H04L 9/0625 (2013.01) [H04L 9/088 (2013.01); H04L 2209/34 (2013.01)] | 1 Claim |
1. A method of OpenSSL encryption and encoding and OpenSSL decoding and decrypting comprising:
encryption comprising:
a user manually selecting a set of encryption attributes, wherein the encryption attributes comprise an algorithm, a bitrate, and a mode;
the user providing a security hash;
generating an Initialization Vector (IV) size based on the algorithm, bitrate, and mode combination set;
generating an IV from a random value and the previously generated IV size;
providing the encryption attributes, security hash and the IV to an encryption function in order to encrypt data;
encoding the encrypted data which is output from the encryption function using a base64 or a hexadecimal encoding function;
decryption comprising:
decoding the encoded encrypted data based on the previously selected encoding function to obtain the encrypted data;
providing the previously selected encryption attributes set to the decryption function;
providing the previously selected security hash to the decryption function;
providing the decoded encrypted data to the decryption function; and
decrypting the decoded encrypted data by supplying the IV, the encryption attributes set, and the security hash to the decryption function.
|