Power data encryption method and device and terminal
The invention is suitable for the technical field of encryption, and provides a power data encryption method and device and a terminal. The method comprises the following steps: acquiring a Sudoku disk with a preset size and target power data; selecting a Sudoku number at a random position on the Su...
Saved in:
Main Authors | , , , , , , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
16.07.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention is suitable for the technical field of encryption, and provides a power data encryption method and device and a terminal. The method comprises the following steps: acquiring a Sudoku disk with a preset size and target power data; selecting a Sudoku number at a random position on the Sudoku disk as a first-digit Sudoku number, and calculating a first-digit key number based on the position information and the numerical value of the first-digit Sudoku number; based on the current bit key number and the position information and numerical values of the current bit independent number, determining a next bit independent number and a next bit key number; calculating the (N+i)th key number according to the position information and numerical values of the ith key number and the (N+i)th independent number; generating a first key and a second key; and performing triple DES encryption on the target power data based on the first key and the second key. According to the method, the secret key has high security |
---|---|
Bibliography: | Application Number: CN202110491904 |