Implementation code of AES/ECB/PKCS5Padding algorithm for secret key encryption and decryption of any length consistent with JAVA, Python and PHP

Recently, I encountered an AES encryption algorithm that needs to be implemented in Java, Python, and PHP. In fact, it is not very complicated in nature, but the parameter adjustment is quite troublesome. I found some reference materials and finally got it. The actual code is as follows: Main features The three languages of JAVA, […]

Django+MySQL data desensitization and encryption access

1. Overview In the Django project, desensitizing the user name and password registered by the front-end client (after encrypting it) and storing it in the target database MySQL can be achieved through the following steps: Install the necessary libraries: Make sure that password hashing libraries such as bcrypt or passlib are installed in the current […]

Spring Boot interface data encryption and decryption, so easy!

Bucai Chen Coder Technology Column 2023-11-09 09:01 Published in Zhejiang Included in the collection #Spring Boot Advanced 99 Hello everyone, I am Bucai Chen~ Today’s article talks about interface security issues, involving interface encryption and decryption. After discussing external demands with students on products and front-end, we sorted out relevant technical solutions. The main demand […]

Use of RSA encryption (front and back ends)

Public key (publicKey) encryption, private key (privateKey) decryption. Cannot be reversed, private key (privateKey) encryption, public key (publicKey) decryption. To put it bluntly, both the front and back ends need to use the public key (publicKey) for encryption and the private key (privateKey) for decryption. Introducing the front-end JS library: jsencrypt.js npm install jsencrypt Use […]

Springboot interface encryption example (2)

RESTUDY A wolf on the road 2023-10-20 17:55 Published in Beijing Included in the collection #Interface Encryption 2 The previous article introduced interface encryption and provided the corresponding project source code (please message me privately if necessary). It uses RSA encryption and decryption. Although it is highly secure, the encryption and decryption speed is slow. […]

RSA file encryption implemented in C language

This article was originally an open source implementation of Computer System Principle Experiment 2 of Shandong University Since the score for the Principles of Computer Systems experiment is based on the difficulty of the encryption algorithm, and encryption algorithms are obviously not the focus of Principles of Computer Systems, my implementation is open sourced for […]

Nginx implements tcp proxy and supports TLS encryption experiment

Nginx source code compilation Regarding the construction and configuration of nginx, please refer to the author’s previous article: Real-time streaming media server construction test (nginx + rtmp)_How to test online whether the streaming media rtmp is successfully built – the first half of the CSDN blog; the only change is the compilation parameters (Add the […]