flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
asmrox
do you have rsa encryption dlls with simple api like (in key, in message, out ptr output)?
|
|||
![]() |
|
vid
I prefer libtomcrypt - you can build it to DLL easily.
|
|||
![]() |
|
asmrox
libtomcrypt is a dll?
i really dont have patience for those damn makefiles and other shit form .zip all but no .DLL/.EXE ! |
|||
![]() |
|
vid
not sure if there is precompiled DLL version, but compiling it yourself could easily be just few clicks in MS Visual Studio, or something like "make dll" command... Learning to use basic tools like makefiles is must-have for programmer.
|
|||
![]() |
|
asmrox
Im not using visual studio, ive tried to download time ago it but... well i had to reinstall my windows after it.
I hate linux cuz of 1-command-downlaod-install, i prefer clean source file(s) with STANDARD c syntax compilable by dumb gcc (or pure asm opcode in .asm where i dont have to analyse macros just port to compiler). And i dont wana be programmer, assembly is the future, sooner or later ill write code in it faster and better than anyone in delphi. Train, train and more train. about the `dll`, explain me, please: LibTomCrypt is a portable ISO C cryptographic library not even a word about compiling... But okay, its dll. Lets reverse engeneer makefile now: there should be -o <dllname>.dll and --shared options ctrl+f -shared > 0 found, okay ctrl_f -o -o src/ciphers/aes/aes_enc.o well, whats the '.o' file? '.s0' = shared object on unix, '.dll' shared on win, but '.o'? and thats all of pure -o's what can i do next? lest go to \libtomcrypt-1.16\src, and \pk\rsa. wow, its finally rsa. Quote: C:\Documents and Settings\Administrator\Pulpit\libtomcrypt-1.16\src\pk\rsa>gcc * rsa_decrypt_key.c:11:22: tomcrypt.h: No such file or directory rsa_encrypt_key.c:11:22: tomcrypt.h: No such file or directory rsa_export.c:11:22: tomcrypt.h: No such file or directory rsa_exptmod.c:11:22: tomcrypt.h: No such file or directory rsa_free.c:11:22: tomcrypt.h: No such file or directory rsa_import.c:11:22: tomcrypt.h: No such file or directory rsa_make_key.c:11:22: tomcrypt.h: No such file or directory rsa_sign_hash.c:11:22: tomcrypt.h: No such file or directory rsa_verify_hash.c:11:22: tomcrypt.h: No such file or directory great ^^ why not define data from headers in .c files? I DONT KNOW! YOU TELL ME! after moving headers from ../../headers to same directory: <here i considered writing additional program to redirect stderr> Quote: In file included from rsa_decrypt_key.c:11: all /h files are in same directory as am 1, and .c files. As far as you can see compiling this shit is pure fun! WHY DO THEY DO THAT? WHY THEY MAKE MY LIFE HARDER? shift deleted with bang, googling advapi now... |
|||
![]() |
|
vid
Quote: And i dont wana be programmer, assembly is the future, sooner or later ill write code in it faster and better than anyone in delphi. Train, train and more train. You'll never write years worth of code faster than someone will download good library and learn how to use it. And if you write it fastly, it will be much inferior to code that was polished over years, like libtomcrypt. Quote: great ^^ why not define data from headers in .c files? I DONT KNOW! YOU TELL ME! 1. Things in .h files are not data definitions 2. Because those are shared in multiple .c files - doing it your way would be duplication, eg. stupid and hell to maintain Quote: As far as you can see compiling this shit is pure fun! Because they want to support more than single platform / single OS / single compiler, and because they want maintainable code. Way how that project is done is pretty much "industry standard" for portable ANSI C code. Yes, it is hell confusing first time, but you really should learn it, if you want to work in anything serious. |
|||
![]() |
|
AlexP
You should use the API for secure RSA
|
|||
![]() |
|
asmrox
i hape crypto~
it can be cracked, matter of time. But i need to talk to server in rsa -.- send just 1 packet with encrypted login/password. (i have the public key) |
|||
![]() |
|
vid
Quote: it can be cracked, matter of time. every encryption with can be cracked if you have enough time ![]() |
|||
![]() |
|
revolution
vid wrote:
|
|||
![]() |
|
vid
Quote: Except for quantum cryptography ermmm... why not? Never heard about this... |
|||
![]() |
|
revolution
vid wrote:
|
|||
![]() |
|
vid
next time before using this joke, check it first: http://www.google.com/search?q=quantum+cryptography+unbreakable
![]() |
|||
![]() |
|
revolution
Next time before refuting such a claim, check it first
the first link proposed by google wrote: In the article, published in the journal IEEE Transactions on Information Theory, the authors propose a change that solves the problem. ![]() ![]() |
|||
![]() |
|
AlexP
Good luck with quantum, last I checked it was in a Sci-Fi with a processor that had a heck of a Tb/s bit rate, that's all I remember. Have fun with that!
|
|||
![]() |
|
revolution
AlexP wrote: Good luck with quantum, last I checked it was in a Sci-Fi with a processor that had a heck of a Tb/s bit rate, that's all I remember. Have fun with that! |
|||
![]() |
|
vid
Looks like I am too much behind... for what practical purpose are quantum computers used now?
|
|||
![]() |
|
Vasilev Vjacheslav
what about miracl? or libigo from witeg?
|
|||
![]() |
|
revolution
vid wrote: Looks like I am too much behind... for what practical purpose are quantum computers used now? |
|||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.