Develop a WeChat mini-program for image encryption and decryption in half a day

By using cursor software, local image and video encryption for WeChat mini programs can be achieved within 2 hours;
Function:
1: Encrypt and store images in the local album, read encrypted images and decrypt them for storage in the local album;
2: Encrypt the videos in the local album and store them in txt format. Read the locally encrypted videos and decrypt them before storing them in the local album; (Due to the inability to store the encrypted video in the album, it has been changed to txt);
3: The encrypted image is sent directly to friends through the WeChat chat box in txt format (because WeChat teaches resources in image format, encrypted images cannot be sent successfully, so it is changed to txt to avoid WeChat detection);
4: The encrypted video is sent directly to friends through the WeChat chat box in txt format (because WeChat verifies video format resources, encrypted video cannot be sent successfully, so it is changed to txt to avoid WeChat detection);
5: Read the image of a WeChat chat interface for encryption or decryption;
6: Read a video from a WeChat chat interface and encrypt or decrypt it;

User experience
1: Version control function, be sure to remind cursor to save the version and save the version log in readme during use, because the next modification may not be satisfactory, so it is convenient to tell cursor to return to a certain version; Cursor is very powerful, which adds an additional feature similar to Git;
2: What should I ask more? When cursor encounters problems, he may say, “The current function may require permission application, let’s find a different way.” At this point, he may ask, “Why not apply for permission?” This way, he will first solve the permission problem, otherwise he may use other technical solutions that may be more complex;
3: When cursor encounters problems, it will read the local code and the interface description on the official website. When there is a conflict between the two, it will choose local as the main option. Therefore, it is necessary to make it use the official website API as the main option, rather than local, because local code may be incorrect;

Scan the QR code on WeChat to experience the QR codeScan the QR code on WeChat to experience the QR code

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.