Method and apparatus for automatic encryption of password storage based on transparent interface

By defining the safePassword computed property in the data model class, the target key is automatically obtained and the security operation is scheduled in the transparent interface. This solves the problems of security and high development cost of existing user password storage methods, realizes non-intrusive automatic encrypted storage and access, and improves the security and maintainability of the system.

CN122413495APending Publication Date: 2026-07-17SHENZHEN GREEN CONNECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN GREEN CONNECTION TECH CO LTD
Filing Date
2026-03-04
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing technologies for storing user passwords suffer from low security, high development costs, repeated encryption, and data corruption. Furthermore, existing password storage methods are highly intrusive to business code, making it difficult to achieve non-intrusive automatic encrypted storage and access.

Method used

An automatic password encryption and storage method based on a transparent interface is adopted. By predefining the safePassword computed property in the data model class, the target key is automatically obtained, and the security operation method is scheduled in the transparent interface to realize the encrypted storage and access of passwords, including security logic such as encryption identifier checking, decryption operation, and null value checking.

Benefits of technology

It improves the security and reliability of password storage, simplifies business logic, reduces system complexity, enhances code maintainability and development efficiency, and ensures the security and consistency of passwords during transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122413495A_ABST
    Figure CN122413495A_ABST
Patent Text Reader

Abstract

本发明公开了一种基于透明接口的密码自动加密存储方法及装置,实施本发明,通过预设策略自动获取目标密钥,并针对读取与设置两类核心业务操作事项,在透明接口中自动调度对应的安全操作方法,确保了从密码写入存储到读取使用的全流程,均能无缝嵌入密钥检查、空值校验、加密解密等安全逻辑,也即,将密码的安全存取逻辑封装在数据模型类预定义的safePassword计算属性这一透明接口中,后续访问该透明接口时,业务代码仅需像访问普通属性一样进行读或写,实际调用的则是关联的、内置了复杂安全操作的目标方法;从而提高安全增强措施对上层业务代码的透明度,同时简化业务逻辑,还能够显著提升代码的可维护性,并降低因引入密码安全管理而带来的系统复杂性。
Need to check novelty before this filing date? Find Prior Art