![]() |
#41 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,358
|
![]()
I added the RNG function that uses CryptGenRandom to generate 100 random bytes of data.
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#42 |
Junior Member
Join Date: May 2006
Location: Astoria, NY
Posts: 12
|
Is there any chance we can get the source code released for this under an open source license?
|
![]() |
![]() |
![]() |
#43 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,358
|
I might have it on another machine somewhere but this is not really my plug-in, I just had to take action quickly because the old plug-in was broken.
I don't think there is anything special going on in the source, it is just a thin wrapper around the Windows Crypto API pretty much the same as http://forums.winamp.com/showpost.ph...8&postcount=37. Do you have a specific problem you are trying to solve? IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#44 |
Junior Member
Join Date: May 2006
Location: Astoria, NY
Posts: 12
|
No, but I'd like to use it with an open source project. While the license defaults to zlib for files hosted on the NSIS project pages including plugins, the source didn't seem to be included with this one. I always ensure the source is available (and included with my bundles) for the open source components I use in my projects.
|
![]() |
![]() |
![]() |
#45 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,358
|
Yes the wiki defaults to zlib but it clearly says "Freeware" on the page for this plug-in.
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#46 |
Junior Member
Join Date: May 2006
Location: Astoria, NY
Posts: 12
|
Ah, so it does. That's a shame. I'll look into either writing my own or handling it in our companion Delphi app via the open source Indy framework.
|
![]() |
![]() |
![]() |
|
Tags |
cryptography, plug-in, security |
Thread Tools | Search this Thread |
Display Modes | |
|
|