Note a pit encountered when crypto's createCipheriv method was used to encrypt node.js

Node.js crypto module A set of encapsulations including hashing, HMAC, encryption, decryption, signature and verification of OpenSSL are provided. Specific methods of use can be referred to in the description of this article: node.js_crypto module. This paper focuses on the pits encountered when using the createCipheriv method. The correspond ...

Posted on Thu, 10 Oct 2019 05:09:41 -0700 by uluru75

Application of thrift in C++ language

Articles Catalogue brief introduction thrift data structure Introduction to Use 1. Writing thrift scripts 2. Compiling scripts 3. Use thrift in Engineering (1) Server (2) Client (3) Operation error brief introduction Thrift was originally ...

Posted on Thu, 05 Sep 2019 00:05:28 -0700 by Greaser9780

keepalived application deployment

First, keep alived overview;2. Design principle;3. Case: Keepalived realizes dual hot standby; First, keep alived outline: Summary: keepalived is a powerful assistant tool designed for Lvs at first, which guarantees the failover of Lvs load dispatcher and the health checking of web nodes. It has been applied to many scenarios requiring fault ...

Posted on Tue, 20 Aug 2019 06:16:53 -0700 by bedted

Learn about key exchange algorithm ECDH

Links to the original text: https://www.jianshu.com/p/b26cd2bfdc28 Move on to other people's explanations: Let's take Alice and Bob as examples to describe the principle of Diffie-Hellman key exchange. 1. All participants involved in t ...

Posted on Fri, 16 Aug 2019 04:16:16 -0700 by madkris

baresip android usage test tutorial 1

1. Compiler found on git. https://github.com/juha-h/libbaresip-android This test is good. Download the ndk of sdk and r19 and refer to the execution and pay attention to modifying the ndk path and output directory Makedownload-sources If it fails to execute successfully, download the package and ren ...

Posted on Tue, 13 Aug 2019 02:36:30 -0700 by bimo

Enterprise Operations and Maintenance-lvs+keepalived for High Availability (HA)

Articles Catalogue Concept and principle of keeping alived lvs+keepalived for high availability Preparation of experimental environment Main and standby server 1 (DS) Backup Server 4 (Standby DS) Real Server(server2,server3) Physical Machine Testing Concept and principle of keeping alived Se ...

Posted on Tue, 30 Jul 2019 02:39:15 -0700 by vumpler

linux installs nginx with configuration of http and socket proxy mode

#If you have the first four packages, you don't need to install them. yum install unzip yum install libtool yum -y install pcre-devel yum -y install openssl openssl-devel #Download nginx package wget http://nginx.org/download/nginx-1.13.9.tar.gz #decompression tar xvfz nginx-1.13.9.tar.gz #Enter the unz ...

Posted on Fri, 19 Jul 2019 02:46:23 -0700 by asanvicente

How to build yum warehouse and customize rpm package

Original works, reproduced please indicate the source. http://www.cnblogs.com/Csir/ My tutor - Long Wing When we deploy cluster automatically, we need to build yum warehouse and customize rpm packages in order to install all services quickly.   # Server1.# Retain the usual downloaded rpm packages first sed -i 's#keepcache=0#keepcache=1#g' /etc/ ...

Posted on Wed, 10 Jul 2019 12:01:00 -0700 by thom2002

Fastdfs(1) Installed Tracker

1. Introduction to Fastdfs FastDFS is an open source distributed file system. It manages files, including file storage, file synchronization, file access (file upload, file download), etc. It solves the problems of mass storage and load balancing.It is especially suitable for online services with files as carriers, such as photo album websites ...

Posted on Thu, 20 Jun 2019 12:06:17 -0700 by arsitek

Https Configuration under Various Web Servers

Preface Front-end needs to start the web server in many cases. In order to ensure the security of the data, encrypted transmission of the data is required by Https. Some web-view s only allow HTTPS to be accessed, so learning how to configure HTTPS is also an essential part of the big front-end.This sister will start with a brief introduction t ...

Posted on Tue, 04 Jun 2019 09:36:05 -0700 by Shawazi