Crossbar base64 This function first generates a random color value, and then encodes this color value using Base64. Function 2024-12-16 12:12:33 9 views
Python Crossbar This function generates a random node key based on a given node ID, used for node identification in Crossbar. Function 2024-12-16 12:11:26 6 views
The code This code includes three functions for generating password hashes, encrypting data, and decrypting data. It uses the packages hashes, hazmat.backends, hazmat.primitives.kdf.pbkdf2, hazmat.primitives.ciphers, and base64 from the cryptography library. The type of code 2024-12-16 12:02:48 5 views
Cryptography os This code implements a simple cryptographic application, including the generation of a key from a password, and the encryption and decryption of data using the key. The type of code 2024-12-16 11:25:44 4 views
cryptography hashes This function generates a hash value for a given text and algorithm, and returns both hexadecimal and base64 encoded hash values. Function 2024-12-07 15:40:15 5 views
cryptography PBKDF2HMAC This function uses the PBKDF2HMAC algorithm to hash the user's provided password to generate a key, then uses the AES algorithm and CFB mode to encrypt the message, and finally encodes the salt, IV, and encrypted message as a Base64 string. Encryption function 2024-11-30 16:26:28 5 views
os re This function generates a random password of specified length, performs SHA-256 hashing on the password, then converts it to base64 encoding. The encoded password is saved to a file. It also returns the hash of the password and the current timestamp. Password Generation and Hashing 2024-11-30 15:48:35 4 views
base64 This function encodes the input string into Base64 format and decodes Base64 encoded strings. Function 2024-11-30 15:48:32 4 views
os zipfile The function compresses the contents of a folder into zip, tar, gzip, or base64 format based on the input folder and output file type, or outputs the folder contents as a json format. File processing 2024-11-30 15:47:18 16 views
random string Generates a random string, converts it to JSON format, calculates HMAC SHA256, encodes it in Base64, performs URL encoding, sends a GET request, writes the response to a file, outputs information, gets the current time, pauses execution, creates a thread, uses a queue, waits for queue items, gets the smallest elements, inserts elements, creates a counter. Code function 2024-11-30 15:46:45 10 views