Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

112 results about "Random string" patented technology

Using special tokens for secure prompt template input to language models

Systems and methods provide for a prompt template to include private random strings that are used by a language model to reference specific tokens on which the language model has been trained. A number of random strings may be generated and inserted into a prompt template and assigned special token identifiers (IDs) in a tokenizer. The text data from the prompt template are tokenized to convert the random strings to the assigned special token IDs which are sent to the language model for inferencing. Based on the provided special token IDs, the language model may reference special tokens learned from training and then generates an inference. The random strings remain hidden during their lifetime and may be updated on-demand to ensure security.
Owner:NVIDIA CORP

Browser login password encryption transmission method and device

The invention belongs to the field of Internet, and discloses a browser login password encryption transmission method and system, and the method comprises the steps: a server generates a public key and a private key through an asymmetric encryption algorithm, generates a random character string (random Key) through a random algorithm, stores the random Key and the private key in a Redis database in the form of a key-value pair, and sets a proper expiration time; the browser obtains a public key and a random Key through a network request, encrypts the password by using the public key when a user inputs an account password, and sends the account, the random Key and the encrypted password to the server; and after the server receives the account, the encrypted password and the random Key, a private key is obtained in a Redis database through the random Key, the received password is decrypted through the private key, and then user information verification is carried out through the account number and the decrypted password. According to the invention, in an unsafe environment, even if the network request is hijacked, the password input by the user can still be ensured to be safe and not cracked; and after login verification each time, the secret key is immediately invalid and cannot be cracked by brute force.
Owner:北京清研兰亭科技有限公司

Grid-based CRS-free multi-key homomorphic encryption method

The invention relates to the fields of cryptographic algorithms and homomorphic encryption, in particular to an anti-quantum-attack homomorphic encryption method. Along with increasing demands of outsourcing computing and privacy protection application in a multi-user scene, multi-key homomorphic encryption becomes an important research direction. The construction of a traditional multi-key homomorphic encryption scheme generally depends on a common random character string (CRS) model, and a trusted party needs to generate a common parameter for a public key so as to support calculation on a joint ciphertext. Due to the dependence on the central trusted mechanism, the anti-attack capability and the decentralization characteristic of the system are greatly reduced. In order to avoid excessive dependence on trusted third parties and public parameters, a distributed key generation protocol is used in the invention, all users are enabled to independently generate keys thereof, and ciphertexts of a plurality of users are expanded to the same dimension through a ciphertext expansion technology, so that the encryption efficiency is improved. Therefore, multi-key homomorphic encryption in a multi-user scene is realized without depending on a trusted third party, a lattice-based CRS-free multi-key homomorphic encryption method is provided, and the security and decentration characteristic of the scheme are enhanced. Furthermore, the invention provides a directional decryption mechanism and introduces the directional decryption mechanism into the scheme, the public key information of the target user is embedded into the ciphertext, it is ensured that only the specific target user can decrypt the ciphertext after homomorphic operation, and more flexible privacy protection is provided.
Owner:QUFU NORMAL UNIV

Security policy updating method and apparatus, embedded device, and medium

Disclosed are a security policy updating method and apparatus, an embedded device, and a medium. The security policy updating method comprises: outputting a random character string as an encryption seed on the basis of a first preset interface function of firmware of the embedded device; and receiving an encrypted security policy on the basis of a second preset interface function of the firmware of the embedded device, decrypting the encrypted security policy to obtain a decrypted security policy, and enabling the decrypted security policy, wherein the encrypted security policy is obtained by encrypting the updated security policy on the basis of the encryption seed.
Owner:ROLLING WIRELESS SARL +1

Operation method of electronic devices for initializing password of BIOS and same electronic devices

A user terminal is provided. The user terminal includes an input interface configured to receive a user input of requesting initialization of a password of a basic input output system (BIOS) of the user terminal, and receive a decrypted string obtained by decrypting a ciphertext for initialization in response to the initialization request being verified based on verification information from a server, memory storing one or more computer programs, and one or more processors communicatively coupled to the input interface and the memory, wherein the one or more computer programs include computer-executable instructions that, when executed by the one or more processors individually or collectively, cause the user terminal to generate the ciphertext by encrypting a predetermined length of random string in response to the user input, and initialize the password of the BIOS according to whether a second hash value for the decrypted string and a first hash value for the random string match.
Owner:SAMSUNG ELECTRONICS CO LTD

Short chain generation method, wireless communication method and device

The invention provides a method for generating a short chain, and a wireless communication method and device. The method for generating the short chain is applied to a server, and the method comprises the steps that a first short code is generated based on a random factor, a first message template identifier and a first data volume interval, the random factor is a random character string, the first data volume interval is any interval in a plurality of data volume intervals corresponding to a first message template for reading a letter, and the first message template identifier is a random character string; the first message template identifier is an identifier corresponding to the first message template; generating a first short chain based on a domain name and the first short code, the first short chain being any one of a plurality of short chains in the first data volume interval, and the first short code being an identifier of the first short chain; and based on the first short code, storing the first short chain and the dynamic data corresponding to the first short chain into a target database. According to the method, the uniqueness of the short chain is ensured, and the retrieval efficiency of the short chain is improved.
Owner:SHENZHEN MONTNETS TECH CO LTD

Storage-free message authenticators for error-correcting-codes

Techniques for storage-free message authentication for error-correcting-codes are disclosed. A storage controller of a storage device receives a request to encode a message in a format having an error-correcting code schema that generates a parity code. A key generator generates a pseudorandom transposition of the message and the parity code as a first part of a secret key. A pseudorandom character string is determined as a second part of the secret key. The output of the pseudorandom transposition and the pseudorandom character string are combined to generate the encoded message which is returned in response to the request. The secret key associated with the message is stored in non-volatile memory.
Owner:SANDISK TECHNOLOGIES LLC

Information encryption method and device, electronic equipment, storage medium and program product

The invention discloses an information encryption method and device, electronic equipment, a storage medium and a program product, belongs to the technical field of information security, and is used for improving information security. The method comprises the following steps: extracting a target quantum key from a quantum key group according to the number of quantum keys in the quantum key group and a generated random character string encryption value; and sending the target quantum key to a terminal device, so that the terminal device encrypts to-be-encrypted sensitive information according to the target quantum key to obtain encrypted information.
Owner:CHINA MOBILE INTERNET CO LTD +1

Verifiable certificate-based block chain authorization unified login system, third-party platform and system

The invention discloses a verifiable certificate-based block chain authorized unified login method, a third-party platform and a system, and belongs to the field of digital identity authentication, and the method comprises the following steps: after the third-party platform receives a login request sent by a user, executing the following steps: returning a random character string S to the user, the user encrypts S by using a private key of the user and then sends the S and a verifiable certificate to a third-party platform, and the verifiable certificate is issued by an identity provider; requesting a user public key PKu from a block chain; and if the random character string is consistent with S and the verifiable certificate is still in a valid period, requesting a public key PKp of an identity provider from the block chain, verifying a digital signature of the verifiable certificate by using the PKp, if the verification is passed, decrypting the user ciphertext information by using the PKp, judging whether the user is a user of a third-party platform, and if yes, sending the user to the third-party platform. And if so, returning successful login. According to the invention, the credible unified login function can be realized without depending on a centralized mechanism, and the risk of user information leakage is reduced.
Owner:HUAZHONG UNIV OF SCI & TECH

Timed task scheduling method and system for cluster environment decentralization

The invention discloses a timed task scheduling method and system for cluster environment decentralization, and the method comprises the steps: reading a timed task list in a database to a memory by using an SQL when a system is started, and creating and registering a timed task; the registered timed tasks are monitored, and when the Cron expression of a certain timed task is reached, the task is triggered; reading the task list in the database to obtain the execution times, the latest execution IP and the latest random character string of the task; judging whether the triggered timed task needs to be executed in the server or not; sending a task query request to a server pointed by the latest execution IP by using a TCP protocol; after receiving a query request, checking whether a thread pool has a thread of which the name is the task name or not, and returning a result; when updating succeeds, a thread with the name being the task name is created in a thread pool, and the task is executed in the thread; and after the timed tasks are executed, adding 1 to the execution times of the timed tasks in the task list.
Owner:ZHONGBO INFORMATION TECH RES INST CO LTD

Authority authentication method, terminal device, server, system and electronic device

The invention discloses an authority authentication method, a terminal device, a server, an authentication system and a readable storage medium, the terminal device obtains an encryption code and an authentication random code through different channels, and the security of an authentication process is improved. The method comprises the following steps: sending an authentication request to a server, wherein the authentication request comprises to-be-authenticated subject information; an encryption code sent by the server is received, an authentication random code is obtained through the intermediate device, the encryption code is determined by the server according to the to-be-authenticated subject information, and the authentication random code is a random character string generated by triggering of the authentication request; performing confusion and first encryption processing on the to-be-authenticated password through the encryption password, and performing second encryption processing in combination with the authentication random code to obtain a first authentication code; sending the to-be-authenticated subject information and the first authentication code to a server for verification; and receiving a verification result fed back by the server, wherein the verification result indicates whether the authentication request passes.
Owner:SIEMENS SCHWEIZ AG

Fast color image encryption method based on four-dimensional discrete hyperchaotic system

The invention discloses a quick color image encryption method based on a four-dimensional discrete hyper-chaotic system. The method comprises the following steps of: disturbing initial condition parameters through a hash value obtained by a plaintext image and an external random character string to obtain disturbed initial condition parameters; substituting the four-dimensional discrete hyper-chaotic system for iteration to obtain four chaotic sequences; carrying out compressed sensing and two-dimensional discrete wavelet packet transformation on the plaintext image to obtain a to-be-encrypted pixel matrix; rearranging the chaotic sequence; performing index scrambling on the matrix m1 and the matrix m3 by adopting the matrix m2 and the matrix m4 to obtain a matrix M1 and a matrix M2; scrambling the M1 by adopting the M2 to obtain a matrix M3; scrambling a to-be-encrypted pixel matrix by adopting the matrix M3 to obtain a pixel matrix P4; and exporting a pulse sequence and coordinates for diffusion from the chaos sequences s2, s3 and s4, and sequentially acting on a pixel matrix P4, thereby obtaining a final ciphertext image. According to the method, the color image can be effectively encrypted, and the method has good security for resisting various attacks.
Owner:CHONGQING NORMAL UNIVERSITY

A short link suffix high-strength random generation method and system for equity delivery

The application provides a short link suffix high-strength random generation method and system for benefit delivery, relates to the technical field of data processing and benefit delivery, and comprises the following steps: acquiring a true random number sequence through a hardware physical entropy source, and generating a random string as a short link suffix according to a mapping rule of the true random number sequence and a preset character set; performing hash calculation on the short link suffix to obtain a corresponding first hash value; converting the first hash value into an integer value; acquiring a current available database shard identifier set based on a preset shard configuration strategy, and then calculating a corresponding combined weight value based on the integer value and each database shard identifier in the database shard identifier set. The application can solve the security defects of software pseudo-random generation of short link suffixes, realize storage load balancing and intelligent resource allocation, and guarantee the real-time nature of benefit cancellation.
Owner:SHANGHAI RONGSHU INFORMATION TECH CO LTD

Method and apparatus for enhancing security of quantum key distribution network

Provided are a method and an apparatus for enhancing the security of a quantum key distribution network. The quantum key distribution network includes a first node, a second node, and at least one relay node, by means of which the first node and the second node implement a first stage of quantum key distribution; the first node and the second node share a first key pool, which includes at least one key; and the method is executed on either the first node or the second node. The method includes: acquiring a first key obtained after the first stage of quantum key distribution; determining the seed key from the first key pool; generating a first random string by applying, based on the seed key, a first algorithm predetermined with a correspondent node, the first random string having a length equal to that of the first key; and acquiring a second key by performing a preset first bit operation on the first key and the first random string.
Owner:TSINGHUA UNIVERSITY

Equipment access method, management equipment, system and storage medium

The invention relates to the technical field of information security, and discloses an equipment access method, management equipment, an equipment access system and a computer readable storage medium, and the method comprises the steps: the management equipment is connected with networking equipment, obtains first information of the networking equipment, generates a password according to the first information of the networking equipment and second information in the management equipment, and sends the password to the networking equipment; wherein the second information comprises the random character string generated by the management equipment, and sending the password to the networking equipment. Through the mode, the security of the networking equipment is improved, and the problems of unauthorized access, data leakage or hostile attack, password forgetting and the like are avoided.
Owner:SHENZHEN BAICHUAN SECURITY TECH CO LTD

Decentralized Timed Task Scheduling Method and System for Cluster Environment

The present invention discloses a method and system for decentralized timed task scheduling in a cluster environment, including: when the system starts, reading the list of timed tasks in the database into memory using SQL, creating and registering the timed tasks; monitoring the registered timed tasks, and triggering a task when the Cron expression of a certain timed task is reached; reading the task list in the database to obtain the execution times, the latest execution IP, and the latest random string of the task; determining whether the triggered timed task needs to be executed on the current server; sending a task query request to the server pointed to by the latest execution IP using the TCP protocol; after receiving the query request, checking whether there is a thread with the name of the task in the thread pool and returning the result; when the update is successful, creating a thread with the name of the task in the thread pool and executing the task in the thread; after the timed task is executed, incrementing the execution times of the timed task in the task list by 1.
Owner:ZHONGBO INFORMATION TECH RES INST CO LTD

Information encryption method and device, electronic equipment, storage medium and program product

The application discloses an information encryption method and device, electronic equipment, a storage medium and a program product, and belongs to the technical field of information security, and aims to improve information security. The method comprises the following steps: extracting a target quantum key from a quantum key group according to the number of quantum keys in the quantum key group and a generated random string encryption value; and sending the target quantum key to a terminal device, so that the terminal device encrypts sensitive information to be encrypted according to the target quantum key, and obtains encrypted information.
Owner:CHINA MOBILE INTERNET CO LTD +1

De-identification privacy set intersection method and system

The invention relates to the technical field of data privacy protection, in particular to a de-identification privacy set intersection method and system. The method comprises the following steps: converting identification data of a first participant and a second participant into a random character string sequence; by utilizing a deterministic random algorithm, respectively taking the random character string sequences of the first participant and the second participant as input for calculation, and taking a calculation result as an address index; the first participant and the second participant resort the local data according to the address index, and construct a de-identified set; and in the trusted execution environment, executing an intersection operation on the de-identified set of the first participant and the second participant, thereby obtaining a de-identified data intersection result. According to the method, the identification data is effectively removed through a deterministic random algorithm in combination with a cuckoo hash algorithm and an oblivious transmission protocol, and efficient and safe identification-removing privacy set intersection calculation is realized.
Owner:SHANGHAI ELECTRONIC CERTIFICATE AUTHORITY CENT CO LTD

Two-dimensional code production method and system, electronic equipment and medium

The invention provides a two-dimensional code production method and system, electronic equipment and a medium, and relates to the technical field of two-dimensional code production, and the method comprises the steps: obtaining a character string constraint, and obtaining a character string set through a random character string generation plan under the character string constraint; a MySQL horizontal segmentation strategy is introduced to distribute and store the character string set to a distributed memory, and the distributed memory comprises a first memory and a second memory; writing the first character string group in the first memory and the second character string group in the second memory into a MySQL database in parallel; and calling a two-dimensional code generation library to convert the target character string in the MySQL database into a target two-dimensional code. According to the method and the device, the problem of low generation speed of an existing traditional two-dimensional code production scheme can be solved, and the technical effect of remarkably improving the generation and storage efficiency of the two-dimensional code is achieved.
Owner:北京蜂创科技有限公司

Methods, apparatus, storage media, and electronic devices for determining verification results

This application discloses a method, apparatus, storage medium, and electronic device for determining verification results, relating to the field of smart home technology. The method for determining verification results includes: in response to a target object's control operation on a smart door lock, generating a temporary unlocking event for the smart door lock, wherein the temporary unlocking event carries a device random string generated by the smart door lock; sending the temporary unlocking event to a cloud platform and obtaining a remote unlocking request sent by the cloud platform based on the temporary unlocking event, the remote unlocking request carrying a device temporary verification code generated by the cloud platform based on the device random string; verifying the device temporary verification code using a device local verification code stored within the smart door lock, and determining the verification result. This technical solution solves the problem of low security in current unlocking event verification codes.
Owner:QINGDAO HAIER TECH +2

General verification method and system for multiple lookup table entry hitting configuration table entry

The application discloses a general verification method and system for multiple lookup table item hit configuration table items, wherein the method comprises the following steps: generating a random character string as a configuration table item template, and obtaining multiple sets of offset collections; obtaining multiple configuration table items corresponding to the multiple sets of offset collections based on the configuration table item template and the multiple sets of offset collections; specifying multiple configuration table items associated with an original message from the obtained configuration table items; and configuring the original message based on the associated configuration table items to obtain an adapted message, which is used for subsequent verification. The application can obtain multiple configuration table items by using the same template, associate the configuration table items with the message, support multiple different lookup table full keys generated from the same message, simultaneously match multiple flow tables, and accurately constrain the hit rate.
Owner:WUXI STARS MICRO SYSTEM TECHNOLOGIES CO LTD

A payment QR code management method and system

The present invention provides a payment QR code management method and system, which comprises the following steps: 1. generating a system order number, then requesting a third-party payment channel interface to obtain a third-party payment address, generating a random string with a length greater than 5 as a short link identification code, using the code as a key, and storing the third-party payment address and the system order number as values ​​in a redis cache; 2. a user accesses the payment QR code address, uses the code as a key to read the redis cache to query the system order number, and returns a websocket handshake address of the payment QR code address page; 3. handshaking with the payment system through the websocket handshake address, and storing the websocket link generated after the handshake is successful in a websocket link pool with the system order number as an identifier; 4. the user scans a QR code image to access the short address, and the payment system uses the code as a key to read the redis cache to obtain the third-party payment address, and performs a payment operation; 5. after payment, the websocket link is removed from the link pool, thereby improving the user's payment experience and the reliability of the system.
Owner:FUJIAN TQ DIGITAL

Information processing system, information processing method, and program

One aspect of the present invention provides an information processing system. This information processing system includes: a controller; and a memory. The controller accepts a transmission request for transmitting a file stored in the memory. The controller acquires a first timestamp based on the file when accepting the transmission request. The first timestamp includes a first hash value which is a random letter string acquired from the file. The controller allows the memory to store the first timestamp to be linked with the file, and transmits the file to a destination that has sent the transmission request.
Owner:HEARTBEATS CORP

A method for preventing repeated use of an application system database

ActiveCN114065279BDigital data protectionHospital serviceRuntime verification
The present invention discloses a scheme for preventing the reuse of application system databases, which includes the following steps: S1, generating a fingerprint file; S2, program startup verification; S3, configuring and binding fingerprints; S4, runtime verification. The step S1 includes the following sub-steps: A1, reading the machine code of the hospital server; A2, encrypting the server machine code and a random string to generate a fingerprint file; A3, when deploying the background program, it is necessary to manually place the fingerprint file in the program directory. Among them, the encryption method in the step A2 is a reversible algorithm, such as AE. In addition, the fingerprint file is used to decrypt the server machine code and the random string, and the random string is used as the database serial number. Through the settings of the corresponding system, the present invention can technically avoid the situation where implementers copy databases between projects, causing economic losses and adverse effects, standardize the on-site implementation steps, and reduce the error rate of projects.
Owner:CLP XIANGJIANG DATA SERVICE CO LTD

Random code generation method, apparatus, computing device and storage medium

This invention discloses a method, apparatus, computing device, and storage medium for generating random codes. The method includes: acquiring a character set, a temporary variable array, a predetermined number of random codes, a quantity to be generated, and a random code identifier for generating random codes; performing combined recursive processing based on the character set and the temporary variable array to generate multiple random strings of predetermined length; performing full permutation recursive processing on each random string to generate multiple corresponding random codes, and storing them in a random code set until the number of generated random codes equals the quantity to be generated; for each generated random code, acquiring random code information and associating the random code information with the random code identifier in memory, the random code information including the predetermined number of random codes, the combined coordinate index and permutation coordinate index corresponding to the random code, and the current quantity of random codes generated. According to the technical solution of this invention, a specified number of random codes can be generated cyclically, ensuring the uniqueness and simplicity of the random codes.
Owner:HAINAN CHEZHIYITONG INFORMATION TECH CO LTD

Authentication verification method and device of operating system, equipment and product

The invention discloses an authentication verification method and device for an operating system, equipment and a product, and the method comprises the steps: obtaining attribute information through the operating system, and generating a first character string according to the attribute information; sending the first character string to an external device; receiving a second character string which is returned by the external equipment and is used for authentication, wherein the second character string comprises a random character string; according to a preset rule, combining the first character string and the random character string to generate a third character string; and if the specified position of the third character string is the same as the specified position of the second character string, the operation system passes authentication verification. According to the authentication verification method and device of the operating system, the equipment and the product, the character string used for authentication verification can be generated through dynamic change, the security of authentication verification is greatly improved, meanwhile, the authentication verification process operation can be recorded at any time, and management of a manager is facilitated.
Owner:KYLIN CORP

Computer and information processing method

This computer (server (10)) functions as a reception means (101), a serial number issuing means (102), and a first storage means (103a). When the reception means (101) receives a random code, which is information on a random string stored in the IC chip of an IC tag, and article type identification information indicating the type of an article to which the IC tag is attached, the serial number issuing means (102) issues a serial number for each random code. The first storage means (103a) makes it so that the random code and the article type identification information received by the reception means (101) and the serial number issued by the serial number issuing means (102) are stored in association with each other in a first storage unit (12a).
Owner:PUBTEX CO LTD

Method and system for remote verification of the integrity of a computer program in a computing unit to be checked

A method for remote verification of the integrity of a computer program in a computing unit to be checked using a verification unit. The computer program is specified by a reference program code and is in the form of stored program code in the computing unit to be checked. The method includes: selecting, by the verification unit, a pair from a list of pairs in which each pair includes a random character string and a reference check value calculated using a check value function based on the random character string of the pair and the reference program code; transmitting the random character string of the pair to a validation unit; receiving a comparison check value calculated using the check value function based on the transmitted random character string and the stored program code; comparing the received comparison check value to the reference check value of the selected pair.
Owner:ROBERT BOSCH GMBH

Order ID generation method based on high concurrency environment

The invention discloses an order ID generation method based on a high-concurrency environment, and the method achieves the uniqueness generation of an order ID in the high-concurrency environment through employing a mapping mechanism of a timestamp and a random character string, and combining the control of a synchronous lock, thereby effectively solving a problem that a conventional timestamp + random number mode generates repeated IDs in a concurrency conflict. Meanwhile, service node identification letters are introduced, so that each service node in the distributed system has an independent identification capability, and the possibility of order ID conflict between the nodes is avoided; the generation process of the random character string is provided with a duplicate removal check and maximum attempt frequency control mechanism, so that the reliability and the stability of ID generation are further enhanced; the whole process runs under the protection of the synchronous lock, so that the atomicity of the order ID generation process in a multi-thread execution environment is ensured, and the problems of data disorder and system abnormity caused by lack of concurrency control in a traditional scheme are fundamentally solved.
Owner:SHANGHAI QUZHI NETWORK TECH CO LTD