In CFB mode, the previous ciphertext packet is sent back to the input of the cryptographic algorithm. The so-called feedback, which refers to the meaning of the return input, as shown:In the ECB mode and CBC mode, the plaintext packet is encrypted
Shadowsocks is a lightweight tunneling socks5 agent, which encrypts network channels.
System CentOS6.5 x86, built-in Python version 2.6.6 (can be viewed with python-v command)
Preparation: Installing the required components
Yum install wget tar
In the OFB mode, the output of the cryptographic algorithm is fed back into the input of the cryptographic algorithm, and the OFB pattern is not directly encrypted by the cipher algorithm, but by XOR the output of the plaintext packet and cipher
1. Overview of symmetric encryption algorithmsOpenSSL's cryptographic algorithm library provides a rich symmetric encryption algorithm that can be used in the form of symmetric cryptographic algorithm directives provided by OpenSSL, or by invoking
OpenSSL symmetric encryption algorithm commands
1. symmetric encryption algorithm Overview
The openssl Encryption Algorithm Library provides a wide range of symmetric encryption algorithms. We can use the symmetric encryption algorithm commands
support for AES in JCE, supported modes and fill modesAES in JCE supports v mode: CBC,CFB,ECB,OFB,PCBC; supports three kinds of padding: nopadding,pkcs5padding,iso10126padding. Ssl3padding is not supported. The "NONE" mode is not supported. where
The packet encryption algorithm divides the data into fixed-length packet processing, and the input length of the algorithm is a grouping length. In order to improve the security and adapt to different application environments, packet encryption has
Unified interface of symmetric encryption algorithms in OpenSSL Copyleft of this document is owned by yfydz. It can be freely copied and reproduced when published using GPL. ensure the integrity of the document during reprinting. It is strictly
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.