Lazarus and .NET Library (Multilang) lazarus / 34-Windows ---------------------------------------------------------------------- TheProgrammer · 2011-08-20 11:46 How can i use .NET Framework 4 class in Lazarus? Example: System.Security.Cryptography.SHA512 Hogyan használhatok .net osztályokat Lazarusban? Példa: System.Security.Cryptography.SHA512 ---------------------------------------------------------------------- felipemdc · 2011-08-20 11:57 Use a Pascal cryptography component instead: http://wiki.lazarus.freepascal.org/DCPcrypt ---------------------------------------------------------------------- TheProgrammer · 2011-08-20 16:32 Thanks, i think, I can use other .NET Library/class... Kösz, Én tudom, Szeretnék más .NET könyvtárat is felhasználni... ---------------------------------------------------------------------- Leledumbo · 2011-08-20 16:56 QuoteThanks, i think, I can use other .NET Library/class...Currently calling .NET managed code from FPC isn't supported though it's possible in theory (since it's already possible with C++ if I'm not mistaken), only the opposite is possible for now. ---------------------------------------------------------------------- TheProgrammer · 2011-08-20 17:04 Ok, thanks... Ok, kössz... Do you know Hash and Cryptography definition in Lazarus? I'd like to do their own project. Nem tudsz titkosítás definíciót Lazarushoz? Szeretnék saját projektet csinálni. ---------------------------------------------------------------------- nicke85 · 2011-08-20 20:12 silvioclecio has solution for hash and encryption in his project http://code.google.com/p/lazsolutions/ ---------------------------------------------------------------------- TheProgrammer · 2011-08-20 20:47 Thanks! I thought In this description: Just my theory on my own. http://en.wikipedia.org/wiki/SHA-2#SHA-256_.28a_SHA- 2_variant.29_pseudocode Hasonlóra gondoltam mint ez: Csak az én saját elméletemmel. http://en.wikipedia.org/wiki/SHA-2#SHA-256_.28a_SHA- 2_variant.29_pseudocode I thought some kind of encryption theory. Valamilyen titkosítás elméletre gondoltam. You know the theory of pi? Lazarussal can count on over 10 bytes? (Extended type) Tudjátok a pi elméletét? Lazarussal lehet tovább számolni, mint 10 bájt? (Extended típus) ---------------------------------------------------------------------- Leledumbo · 2011-08-20 22:13 QuoteDo you know Hash and Cryptography definition in Lazarus?Felipe gave you a link, have you seen that? Or do I misunderstand what you're looking for? QuoteLazarussal can count on over 10 bytes? (Extended type)Extended is supported, but longer bytes would require 3rd party multiprecision integer library support like GMP or NX Numerics. ---------------------------------------------------------------------- TheProgrammer · 2011-08-20 23:17 I've seen them all, I do not want 3rd party components, sources, but the mathematical functions, formulas that will help me be encrypted, hashed. I do not want to use GNU-licensed sources ... Láttam mindet, Én nem harmadik kézből szeretnék forrásokat, hanem matematikai függvényeket, képleteket melyek segítenek nekem titkosítani. Nem akarok GNU licences forrásokat használni... These licenses are usually use: Ezeket a licenceket szoktam használni: CC BY-SA 3.0, CC BY-NC-ND 3.0, GNU GPLv3 stb... Currently I use: Jelenleg ezt használom: CC BY-NC-ND 3.0 So, I want to do the program... Szóval, magam akarom csinálni a programot... ---------------------------------------------------------------------- Leledumbo · 2011-08-21 04:46 QuoteI've seen them all, I do not want 3rd party components, sources, but the mathematical functions, formulas that will help me be encrypted, hashed. I do not want to use GNU-licensed sources ...Oh, OK feel free to do so. DCPcrypt is MIT licensed anyway, not GNU. ---------------------------------------------------------------------- TheProgrammer · 2011-08-21 08:46 Yeah, okay ... Anyway, I thought a definition. This definition describes the process of encryption, and so do I own Ja, oké... Amúgy definicióra gondoltam. Ez a definició leírja a titkosítás menetét, és így tudok sajátot csinálni Example: Definition: E=NC2 Def. Example: Ex := 12 or 46;... Input: 'TEDS' -> Output: '$d64' or Input: 'TEDS' -> Fix output: '1s5f8e9g5v6e8d9seg8dg6d5' (This 24 byte fix) I like the mathematical solutions to... Szeretem a matematikai megoldásokat... ---------------------------------------------------------------------- avra · 2011-08-22 07:56 Take a look at this SO answer: http://stackoverflow.com/questions/5292938/does-free-pascal-have-a- way-to-implement-sha256-or-sha512