Common encryption methods in java

First, import the jar package, commons-codec.jar. You can use maven or go to the maven official website to download the jar https://mvnrepository.com/artifact/commons-codec/commons-codec/1.12 <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version ...

Posted by candy2126 on Tue, 19 Nov 2019 09:54:28 -0800

Extracting Chinese information from Chinese PDF file by python3 operation

https://github.com/pdfminer/pdfminer.six Extract files after downloading Due to the processing of Chinese files, precompiling is required To work with the CJK language, do the following before running setup.py install: mkdir pdfminer\cmap   python tools\conv_cmap.py -c B5=cp950 -c UniCNS-UTF8=utf-8 pdfminer\cmap Adobe- ...

Posted by smoked1 on Sun, 17 Nov 2019 12:57:28 -0800

shutil module - advanced file, folder, compressed package processing module

shutil.copyfileobj(fsrc, fdst[, length]) copies the contents of the file to another file, and the length is the size of each copy guessage.py Chinese content """ //Age guessing game: //Users are allowed to guess three times at most. After three guesses, they will continue to play. If you enter Y, you can continue to guess three times. Otherw ...

Posted by sasi on Sat, 16 Nov 2019 13:11:27 -0800

WebRTC connection process introduction

Summary Because we are working on WebRTC related projects recently, in order to have a deeper understanding of WebRTC connection and transmission, we should write an article to introduce it. From the beginning Official documents of WebRTC Start with, and of course, the inside samples . Because the communication process has not been involved, w ...

Posted by Rother2005 on Wed, 30 Oct 2019 02:05:51 -0700

Several common encryption algorithms

Article directory I. encoding format (this is not encryption in principle, but it is quite common) 2. Message digest algorithm 3. Symmetric encryption IV. asymmetric encryption Online encryption test tool Refer to related articles All the following codes are based on jdk8 All Apache based implemen ...

Posted by robviperx on Sat, 26 Oct 2019 02:56:32 -0700

Making notes on the simple video player for the summer primary school class of senior Xuelei

Because the direction of the paper is divided (yes, it is divided, not chosen by oneself, there are many reasons. Postgraduate students, at the very beginning, in December, the reply was done in content development. Although it was very hopeless, it still needs to be done a little bit. The direction of ...

Posted by Cinds on Wed, 23 Oct 2019 09:45:03 -0700

Verification Code Picture Generation and Solution to the Problem of Unable to Display

IntelliJ IDEA implements verification code related module for web page generation: import com.sun.image.codec.jpeg.JPEGCodec; import com.sun.image.codec.jpeg.JPEGImageEncoder; import java.awt.*; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; ...

Posted by lanjoky on Tue, 08 Oct 2019 23:00:22 -0700

Python - Send mail

SMTP Send Mail Send mail import smtplib from email.mime.text import MIMEText from email.header import Header # Configuring Mailbox Server smtpserver = "smtp.163.com" # User/password user = "admin@163.com" password = "123456" # Sender mailbox sender = "admin@163.com" # Receiver mailbox receiver = ...

Posted by ESCForums.com on Sat, 05 Oct 2019 03:39:22 -0700

Python -- Processing json with Chinese

First of all, the blog mainly introduces the background of writing this blog. 1, the main Chinese field that Bo deals with is this style: 01 hanging air conditioner 02 ordinary chair 02 ordinary curtain 03 desk - computer desk - office desk 04 Microwave oven-oven-dishwasher-sterilizer 05 Elect ...

Posted by misseether on Fri, 04 Oct 2019 23:15:31 -0700

Packaging and Encoding of Common Image Formats in [Image_Codec] - Android Platform JPG

Article directory JPG Picture Format Compression modes and steps JPG file structure libjpeg Encoding and Decoding Jpeg Pictures JPG Picture Format JPG (Joint Photographic Experts Group) is a commonly used lossy compressed image format. The c ...

Posted by lcoscare on Mon, 16 Sep 2019 22:46:22 -0700