• Method of upgrading OpenSSL on Linux system


    I use CentOS. At present, officials say that the threatened versions are 1.0.1f, 1.0.1e, 1.0.1d, 1.0.1c, 1.0.1b, 1.0.1a and 1.0.1. In OpenSSL version 1.0.1g, the “heartbleed” vulnerability was fixed. All CentOS 6.5 systems running OpenSSL 1.0.1e (openssl-1.0.1e-16. El6_5.4) will be threatened. It seems that only 6.5 will be threatened. Check your OpenSSL version first. The […]

  • Method of installing OpenSSL with source code on Linux system


    Download OpenSSL version 1.0.1g first. The command is as follows:     Copy code The code is as follows: #wget -c https://www.openssl.org/source/openssl-1.0.1g.tar.gz Download the MD5 verification package of this version:     Copy code The code is as follows: #wget -c https://www.openssl.org/source/openssl-1.0.1g.tar.gz.md5 Then verify whether the OpenSSL package under has been maliciously modified:     Copy code The […]

  • Explain the encryption algorithm instructions in OpenSSL


    OpenSSL is an open source product to implement SSL protocol. It mainly includes three parts: cryptographic algorithm library, application program and SSL protocol library. OpenSSL implements most of the algorithms required by SSL protocol.The following describes the symmetric encryption of files using OpenSSL. 1、 OpenSSL supports the following encryption algorithms: Copy code The code is […]

  • Analysis of DSA and RSA asymmetric encryption of OpenSSL under Linux


    In the daily system management work, we need to do some encryption and decryption work, we can complete a lot of requirements through OpenSSL toolkit!1. OpenSSL RSA encryption and decryptionRSA is an asymmetric encryption method based on the product of large prime numbers in number theory, which uses public and private keys for encryption and […]

  • AES, DES and 3DES encryption and decryption in golang support multiple mode combinations such as ECB and CBC, and are compatible with Java, PHP and other languages


    OpenSSL encryption: the functional package of OpenSSL library, used for symmetric and asymmetric encryption and decryption. AES-ECB AES-CBC DES-ECB DES-CBC 3DES-ECB 3DES-CBC install go get -u github.com/thinkoner/openssl usage AES The length of the key can be 16 / 24 / 32 characters (128 / 192 / 256 bits). AES-ECB: src := []byte(“123456”) key := []byte(“1234567890123456”) […]

  • A tutorial of using req command to generate Certificate in OpenSSL client under Linux


    OpenSSL req is used to generate a certificate request for the third-party Authority CA to issue and generate the certificate we need. The req command can also call the x509 command to perform format conversion and display the text, module and other information in the certificate file. If you don’t have a key pair, the […]

  • Nodejs configures wechat applet local server (1): OpenSSL generates self signed SSL certificate


    OpenSSL generate self signed SSL certificate Popular science: TLS, SSL, HTTPS and certificate Many people may have heard more than three of them, but what is the relationship between them? TLSIt is the abbreviation of transport layer security. It is a kind of encryption protocol for network-based transmission. It can authenticate the identity of both […]

  • A tutorial of installing SSL protocol dependency library OpenSSL in Linux


    0. Introduced by an error Copy code The code is as follows: fatal error: openssl/aes.h: No such file or directory If you encounter this error when compiling, this may be because the program you are trying to compile uses OpenSSL, but the files (Libraries and header files) that need to be linked with OpenSSL are […]

  • Repeated loading of ABAP function group and Tomcat Library


    ABAP The keywords of * * load-of-program “in ABAP help document are described as follows: This event keyword defines the program constructor of an executable program, a module pool, a function group, or a subroutine pool. The program constructor is an event block whose event is raised by the ABAP-runtime environment when one of the […]

  • Openssl command and example code in Linux


    The format of OpenSSL command is “openssl command-options args”. There are many kinds of commands in the command part. These commands need to rely on OpenSSL commands to execute, so they are called pseudo-commands. Each pseudo-command has its own functions. Most commands can directly view the use and function of commands by man command. OpenSSLIt […]

  • Andorid Studio NDK Development-Use Library


    C language is a huge treasure house. Many implementations at the bottom of the system are based on C language, such as image processing, encryption and so on.C language is also very efficient, so sometimes third-party C language libraries are introduced for efficiency.In a word, we will use a lot of libraries, the system’s own […]

  • HTTPS configuration under Tornado


    Background of problem More and more websites support https, which is safer than http. In particular, some development sites only support https, such as the Wechat public platform.I won’t mention how tornado builds the HTTPS service for the time being. I’ll take a look back. SSLError Can useAsyncHTTPClientSend a simple HTTPS request https_url = “https://path” […]