Search found 253 matches

by ejc.cryptography
May 16, 2009 11:20
Forum: Projects
Topic: Gravitas Simulator
Replies: 6
Views: 1887

Thanks for the comprehensive feedback, h4tt3n. I will be sure to incorporate some of the improvements you have suggested; I may contact you via email sometime soon if that's okay. Yeah, the trailer is awesome. Where's that music from? It is part of the score from the Blender Open Source movie 'Big B...
by ejc.cryptography
May 15, 2009 13:10
Forum: Projects
Topic: Gravitas Simulator
Replies: 6
Views: 1887

Gravitas Simulator

From gravitas.sourceforge.net : Gravitas is a fully scriptable, real-time 3D gravity simulator. Scripts written in the integrated development environment (IDE) are interpreted by the simulator and allow users to create any imaginable planetary setup. Once inside the simulated system, the user can mo...
by ejc.cryptography
May 11, 2009 16:49
Forum: Beginners
Topic: BlowFish Translation failed -.- again.
Replies: 6
Views: 1486

I'm afraid I haven't had time to examine your code, but I include a working version of Blowfish here in case this helps. The code definitely isn't optimised, and I cannot guarantee it is 'perfect' FreeBASIC, but it matches the test vectors, and also implements CBC mode (which is the secure way of us...
by ejc.cryptography
May 06, 2009 12:56
Forum: Projects
Topic: CryptoChat
Replies: 10
Views: 2121

Well I'm not entirely sure about the attacks on it (other than the obvious man-in-the middle attack), but I don't think it would be any more secure to have a large G than a small one. The only consideration for that is the size of the subgroup it generates for different exponents modulo P.
by ejc.cryptography
May 04, 2009 9:53
Forum: Projects
Topic: CryptoChat
Replies: 10
Views: 2121

With CryptoLab I have implemented something called the Diffie-Hellman key exchange protocol which involves some clever maths which means that someone who intercepts all the messages sent still can't discover the secret key. There is an explanation of how Diffie-Hellman key exchange works here: http:...
by ejc.cryptography
Apr 30, 2009 20:08
Forum: Projects
Topic: CryptoChat
Replies: 10
Views: 2121

I forgot to mention that it also works as a fully functional IRC client if you don't want any encryption, though you can only join one channel at a time.
by ejc.cryptography
Apr 30, 2009 20:03
Forum: Projects
Topic: CryptoChat
Replies: 10
Views: 2121

Thanks for the comments! It uses the GTK+ library, which I recently discovered made for the easiest GUI development with FreeBASIC. You can use the Glade tool to construct your user interface visually, which saves an XML file that can be loaded with GTK from your code. This post here ( http://www.fr...
by ejc.cryptography
Apr 30, 2009 16:58
Forum: Projects
Topic: CryptoChat
Replies: 10
Views: 2121

CryptoChat

From ejc-crypto.co.uk : CryptoChat is an easy-to-use encrypted chat program, allowing you to talk to contacts just like any other instant messenger. Featuring automatic public-key exchange and encryption with the Blowfish algorithm, this program is designed with the intention of providing the highes...
by ejc.cryptography
Mar 04, 2009 14:10
Forum: Windows
Topic: Scintilla with Windows API [SOLVED]
Replies: 19
Views: 7944

As far as I can tell this won't work for Linux as it uses a *.dll to load the library. The header files posted above should be valid for a Linux version, but you would have to find a static library for Scintilla...?

I am no expert on Linux so I'm afraid this is a guess.
by ejc.cryptography
Mar 02, 2009 20:35
Forum: Projects
Topic: 6 DOF in OGL
Replies: 11
Views: 3102

I've been using some of the code from the first post in a project of mine recently, but am having problems understanding the different vectors of the camera. Essentially, I am trying to work out how to set the start position somewhere other than the origin (if I simply change the cam1.x, cam1.y and ...
by ejc.cryptography
Feb 26, 2009 21:20
Forum: Windows
Topic: Scintilla with Windows API [SOLVED]
Replies: 19
Views: 7944

scilexer.bi '' '' '' SciLexer -- header translated with help of SWIG FB wrapper '' '' NOTICE: This file is part of the FreeBASIC Compiler package and can't '' be included in other distributions without authorization. '' '' #ifndef __SciLexer_bi__ #define __SciLexer_bi__ #define SCLEX_CONTAINER 0 #de...
by ejc.cryptography
Feb 26, 2009 21:04
Forum: Windows
Topic: Scintilla with Windows API [SOLVED]
Replies: 19
Views: 7944

Here is a working demonstration of using Scintilla with Windows. You can download all of the required files and compiled version from here: http://www.ejc-crypto.co.uk/code/ScintillaDemo.zip . This example is designed for LUA syntax highlighting (with a few a few custom functions added), but can be ...
by ejc.cryptography
Feb 11, 2009 17:38
Forum: Windows
Topic: Scintilla with Windows API [SOLVED]
Replies: 19
Views: 7944

Thanks dkl. I know have it working in a basic sense. Can you explain why I have to define the keywords and colours, even though the lexer stuff for each language is built into SciLexer.dll? What information about the language does SciLexer actually contain? Here is the now working code: #include onc...
by ejc.cryptography
Feb 10, 2009 22:15
Forum: Windows
Topic: Scintilla with Windows API [SOLVED]
Replies: 19
Views: 7944

Ok, thanks for that explanation. Any ideas why my code shows no syntax highlighting?
by ejc.cryptography
Feb 10, 2009 17:59
Forum: Windows
Topic: Scintilla with Windows API [SOLVED]
Replies: 19
Views: 7944

Thanks for the information above. I now have a simple working demo, but I haven't got the syntax highlighting to work yet, though I have tried many different things. Test.bas #include once "windows.bi" #include once "win/richedit.bi" #define PLAT_WIN 1 #include "scintilla.bi...

Go to advanced search