Skip to main content

Questions tagged [cryptography]

Questions relating to cryptographic topics such as encryption/decryption and hashing. (Not for use with trivial ciphers.)

Filter by
Sorted by
Tagged with
5 votes
5 answers
840 views

I'm new on Python, so I'm looking at these YouTube videos of Python projects to practice, and I saw this one of a Password Manager with encryption, but the encryption part couldn't use password, ...
Unknown's user avatar
  • 53
6 votes
3 answers
823 views

In the below script I am using some arrays, and other Bash stuff, but I have made a minimal working example for you, where you cannot see those things. Anyway, I am interested in a review of the ...
Vlastimil Burián's user avatar
2 votes
2 answers
184 views

I have a dictionary with a lot of symbols, each of which is encoded in a huffman binary string. Example: Symbol Huffman Code you 010 shall 0111 not 00111 pass 00001 ... ... Therefore I encode the ...
Benzio's user avatar
  • 131
7 votes
1 answer
917 views

This code takes in a hardcoded input buffer, maximum 64 chars, encrypts, decrypts and outputs decrypted buffer using AES CBC mechanism. Entered password is converted to a SHA256 digest and copied into ...
Abel Tom's user avatar
  • 173
4 votes
1 answer
153 views

Following Wikipedia: Time-based one-time password and Wikipedia: HMAC-based one-time password, is this Rust implementation of the TOTP/HOTP algorithm correct? As far as I can see, this matches the ...
Michael's user avatar
  • 140
6 votes
1 answer
228 views

Would anyone care to elaborate my approach to a multi-layer encryption scheme. It encrypts with four layers and gets shuffled with a random key as well. This is used for a password vault application. <...
bismofunyuns's user avatar
5 votes
1 answer
161 views

I tried to make a cryptographically secure random int in range generator for javascript, practically the javascript equivalent of php's random_int(min,max): ...
hanshenrik's user avatar
3 votes
1 answer
260 views

I have built a Node.js program called serverserver, and it creates a server that you can access remotely on your phone. When you start the program, it prompts you to visit your public IP address. You ...
Cannabijoy's user avatar
6 votes
5 answers
1k views

I'm working on a RSA encryption and decryption project in python. I've written the following code, but I'm looking for suggest on how to improve it. Specifically, I'm interested in optimizing ...
Thanh SkyDev's user avatar
12 votes
4 answers
3k views

I'm building a command-line tool that lets you use Python's secrets module. Here are some commands you can run with this tool: ...
code writer 3000's user avatar
1 vote
3 answers
179 views

I am writing code in C, and I need to do various operations with Bitcoin, from generating key pairs, to sign messages to post transactions. I found libraries for C++, but nothing in C that does all ...
capodieci's user avatar
2 votes
2 answers
270 views

Your opinion interests me regarding this program. This program encrypts a text message using the AES256 algorithm and CBC. It allows the creation of an encrypted message that contains: The salt used ...
b210205's user avatar
  • 33
3 votes
2 answers
300 views

I developed an application that stores large files. Those files are stored in plain text. Now the project owner wants those files be encrypted on storage, he wants confidentiality, integrity, and ...
Jesús López's user avatar
11 votes
3 answers
2k views

I've been working on a byte-oriented SHA-256 implementation for educational purposes. I then tested it using the NIST CAVP tests found here. All tests pass but I would appreciate some feedback from a ...
dRevan25's user avatar
  • 113
4 votes
1 answer
176 views

For learning purposes and because it really interests me I am trying to get a better understanding of cryptography by trying to make my own basic secure chat-application. I posted a first version of ...
O'Niel's user avatar
  • 351

15 30 50 per page
1
2 3 4 5
34