The code This code uses the Schedule library to randomly execute a task. Each task is a lambda function, including random number generation, checking system uptime, string word count, temperature conversion, and string reversal. The type of code 2024-12-16 12:17:50 35 views
Click This code defines a simple command-line interface with three features: addition, text reversal, and displaying file content. Command line interface 2024-12-16 12:17:27 15 views
cryptography PBKDF2HMAC This code defines several encryption-related functions, including generating RSA key pairs, encrypting and decrypting messages, hashing passwords, and verifying passwords. The type of code 2024-12-16 12:17:15 13 views
The code This code uses the Click library to create a simple command-line interface, including two commands: one for adding two numbers, and another for reversing a word. The type of code 2024-12-16 12:16:55 13 views
cryptography RSA This code defines a function that generates an RSA keypair with a specified number of bits. It first generates the private key, then generates the public key from the private key. Finally, it serializes the private and public keys to PEM format. The type of code 2024-12-16 12:16:33 14 views
Cryptography library This function generates an RSA keypair using the cryptography library, including a private key and a public key. The private key is used for decryption and signing, while the public key is used for encryption and verification of signatures. The type of code 2024-12-16 12:14:18 16 views
Click Python This code defines a simple command-line interface with two commands: one to add two numbers and print the result, and another to reverse a given word. Command line tool 2024-12-16 12:13:26 13 views
cryptography RSA This code first generates a pair of RSA keys, then uses the public key to encrypt a message, and finally decrypts the message using the private key. It demonstrates how to handle key generation, encryption, and decryption using the cryptography library. The type of code 2024-12-16 12:12:11 7 views
cryptography library This function generates an RSA key pair using the cryptography library, including the private and public keys. Generate RSA key pair 2024-12-16 12:10:45 7 views
cryptography library This code defines two functions, one for encrypting a message with an RSA public key, and another for decrypting a message with an RSA private key. It uses the cryptography library's hashes and asymmetric modules. The type of code 2024-12-16 12:08:58 6 views