Closed newsham closed 9 years ago
@newsham isn't this just typical variable shadowing going on? Notice v
is defined twice and in the second definition it creates a loop...
ack! absolutely right. I triple checked that and still missed it.. so sorry for the noise. correct test case and my original code are now working properly.
I am trying to use encryptPKCS and it is returning me a lazy bytestring that hangs when I convert it to a strict one. Seems to be some kind of loop going on. I'm using RSA-2.1.0.1 from cabal. The following test case will reproduce this issue: