This tag is used for code review questions relating to cryptographic topics such as encryption/decryption and hashing.
7
votes
1answer
514 views
Am I using PHP Mcrypt the right way?
I have written a small wrapper class for using PHP Mcrypt for encrypting and decrypting text data. This class generates a salt for hashing the key and encrypts the given data with the generated key ...
12
votes
1answer
197 views
Cryptographically-secure super-secret government message transaction machine
-Hello Agent. Are you on a secure line?
-Yes, secured.
-Good, in 30 seconds the launch codes will be in your e-mail's inbox.
You now have the go. Are you ready for the package?
...
10
votes
4answers
3k views
My own SHA-256 code implementation
I'm worried about my code performance. The code I've written is an implementation of SHA-256 using pseudocode from Wikipedia. It works fine, but I want to speed it up. With a buffer of 4096 bytes, I ...
4
votes
2answers
517 views
Simple password encryption / decryption in C++
The below code is for a simple password encryption/decryption program. The code is working perfectly, but the only thing I want to know from you is if this is good logic.
PEND.h
...