Added initialization procedures from openssl library by spacemonkeygo
Implemented ciphering support