All Questions
Tagged with cryptography haskell
8 questions
1
vote
1
answer
76
views
2
votes
1
answer
188
views
Berlekamp–Massey Algorithm in Haskell
I was recently tasked to write an implementation of the Berlekamp–Massey algorithm (for GF2) from a given inductional proof and decided to fresh up on my Haskell, since converting a proof by induction ...
6
votes
1
answer
719
views
A Public and Private Key generator for RSA
I made an RSA encryption public and private key generator and I would like some feedback. In particular, as this is cryptography related I want to know if I have done anything that might be considered ...
2
votes
0
answers
226
views
Locally encrypt/decrypt credentials
I wrote some code to encrypt and decrypt some user credentials for services that a locally run application needs to work.
I get a password from the user, use it to stretch a key via Scrypt, and then ...
10
votes
2
answers
405
views
Enigma machine simulator
As my first (keep that in mind!) Haskall program (full code at end) I've written a simple Enigma machine and would like feedback on the core code related to its stepping and encoding — stripped of ...
19
votes
3
answers
1k
views
Enigma machine simulator - improving recursive algorithm performance
I'm new to Haskell and am confused by why my code seems to preform so poorly, and wonder if there's something I've not grasped about the coding philosophy behind the language, or the best way to take ...
3
votes
1
answer
161
views
Code Review of Haskell PBKDF2
Moved from Programmers.SE.
I have written a new version of the PBKDF2 algorithm in Haskell. It passes all of the HMAC-SHA-1 test vectors listed in RFC 6070, but it is not very efficient. How can I ...
8
votes
2
answers
1k
views
Generating a tabula recta
I want an experienced Haskeller to critique my code and offer changes/suggestions (so I can learn the idioms of the language and culture around Haskell).
I've been using a Tabula Recta for my ...