Tag:Plaintext

  • What exactly is salt added

    Time:2022-5-18

    It’s very embarrassing today because I haven’t studied cryptography, and based on my previous experience of writing and connecting with the background with nodejs, I simply think that the background or database administrator can get our user name and password, so our account is actually in a very unsafe state. Even if the password is […]

  • App request data decryption (AES)

    Time:2022-5-16

    In the next two articles, we will mainly introduce burp packet capture and decryption in the process of security analysisEncrypted request dataAnd print out in the new message editor. This article mainly introduces the analysis and restoration of the encryption and decryption algorithm in the test app. 1、 Analyze the encryption algorithm of request data […]

  • HTTP、HTTPS、SSL、TLS

    Time:2022-5-15

    HTTP HTTP is a hypertext transfer protocol used to transfer information between web browsers and servers. The agreement isSend content in clear text, data encryption is not provided, so it is not suitable for transmitting sensitive information. HTTPS HTTPS is equivalent to an upgraded version of HTTP, which can encrypt the sent content and then […]

  • Vue encapsulated password box

    Time:2022-2-22

    <template> <div class=”password-number” :class=”{ gutter: gutter != 0 }”> <div class=”password-item” :class=”{ gutter: gutter != 0 }” :style=”{ margin: `0 ${gutter}px` }” v-for=”(item, index) in length” :key=”index” > <input class=”password-input” @input=”_input” @keyup=”_keyup” :type=”!password ? ‘number’ : ‘text'” :ref=”`passwordIndex${index}`” :value=”!password ? code[index] : passwordViewCode[index]” :maxlength=”1″ v-max-length=”{ password, mark }” /> </div> <div class=”mantle” @click=”setFocus”></div> </div> </template> […]

  • How GitHub actions executes go mod private library

    Time:2022-1-30

    How does GitHub actions rely on go mod private libraries Golang version Use golang1 Version above 13 Go mod depends on the basic settings of GitHub private library Set goprivate:export GOPRIVATE=github.com/xxx/common Generate GitHub access token Set git configurationgit config –global url.”https://xxx:${{ xxx.ACCESS_TOKEN }}@github.com”.insteadOf “https://github.com” After setting the above three steps, you can normally obtain dependencies; […]

  • JS reverse, simulated Login and daily clock in of light applied wisdom learning workers in Yiban school

    Time:2022-1-29

    1、 Foreword Because it is required to punch in the campus location in a light application in the easy class at 10 o’clock every night, but there is only one hour. This time point is always forgotten as the time of happy five rows with roommates. Therefore, I want to do an automatic clock in, […]

  • Application of cryptography — AES file encryption and decryption

    Time:2021-12-12

    Record the implementation of AES encryption and decryption for some larger files. Here, only the core code is listed. For other codes not involved or any questions, you can check the password technology blog I wrote before var key = []byte(“1234567812345678”) var iv = []byte(“1111111122222222”) /* Function name: paddinglastgroup The encryption algorithm of CBC encryption […]

  • Application of cryptography — SM4 file encryption and decryption

    Time:2021-12-11

    Record the implementation of SM4 encryption and decryption of some larger files. Here, only the core code is listed. For other codes not involved or any questions, you can check the password technology blog I wrote before var key = []byte(“1234567812345678”) var iv = []byte(“1111111122222222”) /* Function name: paddinglastgroup The encryption algorithm of CBC encryption […]

  • Encapsulation of wechat, Baidu, byte beating and other applet public class libraries

    Time:2021-10-21

    Many small programs have been developed. Each time, they have to turn over the documents and find the previous project to copy it,It takes time and trouble. In order to facilitate the development of small programs, we simply build our own wheels,Integration of small programs (WeChat, QQ, Baidu, byte beating, Alipay) related development. !! Please […]

  • 7.8 docker secret management and use

    Time:2021-10-17

    Create secret Based on a text with clear textThe content of password.txt is as follows siguoya Generate key [[email protected] wordpress-overlay]$ docker secret create login-password password.txt k5hf3i5ghi62moakgramxeq85 Delete plaintext file rm -f password.txt View key [[email protected] wordpress-overlay]$ docker secret ls ID NAME DRIVER CREATED UPDATED k5hf3i5ghi62moakgramxeq85 login-password About a minute ago About a minute ago [[email protected] […]

  • Cryptography — encryption mode of block cipher

    Time:2021-8-30

    Encryption mode of block cipher 1. Bitwise XOR The first step is to convert the data to binary 2. ECB – electronic code book ECB mode is a simple encryption mode. Plaintext data is divided into fixed size blocks, and each block is encrypted separately. The encryption and decryption of each block are independent, and […]

  • Python module learning — hashlib module

    Time:2021-8-19

    1: Introduction to hashlib 1. What is hash: hash is an algorithm (different hash algorithms have different complexity) (MD5 module and Sha module are replaced in 3. X, which mainly provides SHA1, sha224, sha256, sha384, SHA512 and MD5 algorithms). The algorithm accepts the incoming content and obtains a string of hash values through operation2. The […]