Page 6 of 6
Re: RSA 2048, Blowfish, Rijndael, Whirlpool PureLib
Posted: Tue Dec 08, 2009 10:24 pm
by JCV
It seems all the links are dead now. Even the PureCrypt rapidshare link is dead also.
Sorry I can't help right now, I don't have a backup in my laptop.
I can't access my home pc either. Maybe someone here who has downloaded the files before can upload?
Re: RSA 2048, Blowfish, Rijndael, Whirlpool PureLib
Posted: Wed Dec 09, 2009 1:26 am
by SFSxOI
Will this help? All four .rar files from the original post in this thread in one .zip
Download link:
http://rapidshare.com/files/318230693/e ... b.zip.html
can be downloaded 10 times so if someone can move them to a more perm location it would be great.
Re: RSA 2048, Blowfish, Rijndael, Whirlpool PureLib
Posted: Wed Dec 09, 2009 3:46 am
by Mohawk70
SFSxOI wrote:Will this help? All four .rar files from the original post in this thread in one .zip
if someone can move them to a more perm location it would be great.
I'll put them up in a permanent location in a day or two

!
Re: RSA 2048, Blowfish, Rijndael, Whirlpool PureLib
Posted: Tue Dec 15, 2009 3:19 pm
by Karbon
If someone will send them to me I'll give them a permanent home too
Re: RSA 2048, Blowfish, Rijndael, Whirlpool PureLib
Posted: Wed Dec 16, 2009 8:11 am
by Mohawk70
Mohawk70 wrote:SFSxOI wrote:Will this help? All four .rar files from the original post in this thread in one .zip
if someone can move them to a more perm location it would be great.
I'll put them up in a permanent location in a day or two

!
Sorry it took so long ! I've set up the PureDump forum
http://puredump.proboards.com
Files from this thread can be found here ==>
http://puredump.proboards.com/index.cgi ... y&thread=2
Note : you must join the forum to be able to download. Sorry, that is ProBoards rule not mine !
Re: RSA 2048, Blowfish, Rijndael, Whirlpool PureLib
Posted: Thu Dec 17, 2009 3:13 am
by Mohawk70
I forgot to mention - I have it set so registered users can attach files to their posts.
If anyone wants to be a moderator at the PureDump forums, PM me !
<Edit>
I just did some organization at the Pure Dump Forum and posted rules. Feel free to make suggestions.
Can a Moderator make an announcement or sticky the posts in this thread about the new board ?
Thanks !
Re: RSA 2048, Blowfish, Rijndael, Whirlpool PureLib
Posted: Thu Jan 28, 2010 1:41 pm
by nanoiton
hi. is there a way to import a key or a certificate from the contents of a text box to be used for JCV's encryption routine? JCV's example retrieves the key and the certificate from the buffer after generation. the load button in his example does not work. i hope JCV or other smart guys here can complete his RSA example to include function for importing keys and certificates from files or strings.
thanks a bunch in advance.

Re: RSA 2048, Blowfish, Rijndael, Whirlpool PureLib
Posted: Sat Feb 11, 2012 11:50 am
by Num3
Hey mates,
Anyone has the source code for the RSA 2048 !?
I've been poking around this library, but i get invalid memory errors, and without the source i can't really tell if is the library or me.
Btw, here's the code i've tried:
Code: Select all
EnableExplicit
Define file.s, key.s, dados.s, sourceLength.l, targetLength.l, result.l
#BITS = 1024
; Structure RSA
; KeyLength.l
; KeyBytes.c[#BITS]
; CertificateLength.l
; CertificateBytes.c[#BITS]
; EndStructure
;
; Global KEYS.RSA
file.s=OpenFileRequester("Chave Privada","","*.txt",1) ; Load a saved Private Key
If file
key.s=""
If ReadFile(0, file)
While Eof(0) = 0 ; loop as long the 'end of file' isn't reached
key + ReadString(0) ; readkey
Wend
EndIf
Dim PrivateKey.c (Len(key)) ; Make room for private key
PokeS(@PrivateKey(),key) ; Copy string into memory
dados.s="2008-03-10;2008-03-10T15:58:00;FT 1/1;28.07;" ; A test example
sourceLength = Len(dados)
targetLength = sourceLength * 2 ; Reserve enough space
If (targetLength < 256)
targetLength = 256 ; set minimum of one block Size
EndIf
Dim SourceBytes.c(sourceLength)
PokeS(@SourceBytes(),dados)
Dim SignedString.c(targetLength-1)
Result = RSA_sign(@SourceBytes(), sourceLength, @SignedString(), targetLength, @PrivateKey(), Len(key))
Debug PeekS(@SignedString(), Result)
EndIf
Crashes when i try to sign the string ...
Re: RSA 2048, Blowfish, Rijndael, Whirlpool PureLib
Posted: Sun Feb 12, 2012 1:49 pm
by RocketRider
I don't have the sourcecode of this lib, but if you don't have anything against WinAPI you can use it for RSA encryption.
I wrote a simple code a few weeks ago:
http://www.purebasic.fr/english/viewtop ... 13&t=49051
regards,
RocketRider