flat assembler
Message board for the users of flat assembler.

Index > Heap > Looking for cryptographic calculator tool

Author
Thread Post new topic Reply to topic
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
I'm now using SCV Cryptomanager

Image

It has nice features such as:
    * Support for the variety of the most popular ciphers and digital signatures like DES, AES, RSA, ECDSA, SHA and others.
    * Public cryptosystems key pair generation functions.
    * Built-in prime number generation, random number generation and modular arithmetic calculator tools.


Unfortunately, it's Windows only.
Do you know similar tools which are cross platform & open source?
Post 01 Oct 2013, 08:22
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 19:48; edited 1 time in total
Post 01 Oct 2013, 16:20
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
HaHaAnonymous wrote:
Quote:

Do you know similar tools which are cross platform & open source?

No, but I can make you one if you wish.


Really? If you don't mind (and no charge at all), then please do.
Anyway, given the availability of cryptographic libraries, I'm sure
I could write such tool myself,
but I have to learn a bit about cryptography first.

Smile
Post 01 Oct 2013, 16:28
View user's profile Send private message Reply with quote
cod3b453



Joined: 25 Aug 2004
Posts: 619
cod3b453
A similar one I saw a while back was CrypTool but I don't think this is open source. The closest I know of is openssl, which also handles more modes of operation but probably fewer functions.
Post 01 Oct 2013, 16:33
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 19:48; edited 1 time in total
Post 01 Oct 2013, 16:36
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
HaHaAnonymous wrote:

Now I'm confused. To do it or not?

Please make it clear.

Thanks!

--
If you are interested to help, please give as many details as possible (such as platform, programming language, etc).


I'll take this a "yes" then.
Personally, I prefer Java, because it's the language (and platform) I'm mostly familiar with.
But actually as long as it can run at least on Windows & Linux, then I don't really care. Smile
Post 02 Oct 2013, 11:16
View user's profile Send private message Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 724
tthsqe
If you have an internet connection (irony intended) then you can always use www.wolframalpha.com
operand: a
operand: b
modulus: m
Code:
a+b: Mod[a+b,m]
a-b: Mod[a-b,m]
-a: Mod[-a,m]
multiplication: Mod[a*b,m]
exponentiation: PowerMod[a,b,m]
1/a: PowerMod[a,-1,m]    

Also, if i ever get around to implementing the power mod function, the big number calculator I posted on the projects page should work on windows as well.
Post 02 Oct 2013, 11:55
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 19:47; edited 1 time in total
Post 03 Oct 2013, 16:21
View user's profile Send private message Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 724
tthsqe
haha, are you going to write a big number library?
how do you intend to divide big numbers for the mod operation?
Post 04 Oct 2013, 00:37
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 19:47; edited 1 time in total
Post 04 Oct 2013, 17:33
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17250
Location: In your JS exploiting you and your system
revolution
Remember that unless you are dealing with a Finite Field some division operations will not have a defined result.
Post 04 Oct 2013, 18:45
View user's profile Send private message Visit poster's website Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 724
tthsqe
yeah, for a^-1 mod m you need to check that gcd(a,m)=1 and you can use the results of the euclidiean algorithm to then find a^-1 mod m
Post 04 Oct 2013, 20:06
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
HaHaAnonymous wrote:

If you are still interested, please let me know.


Oh yes.
On the other hand, I'll also start my own version.
Learning cryptography seems to be fun Smile
Post 06 Oct 2013, 03:48
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
tthsqe wrote:
haha, are you going to write a big number library?
how do you intend to divide big numbers for the mod operation?

Java has this already. You can extend it I guess.
Post 06 Oct 2013, 23:38
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17250
Location: In your JS exploiting you and your system
revolution
typedef wrote:
Java has this already. You can extend it I guess.
Using Java requires a JVM. Sounds like a bad idea to me. Megabytes of overbloated insecure code just for some simple maths functions?
Post 07 Oct 2013, 07:03
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
revolution wrote:
typedef wrote:
Java has this already. You can extend it I guess.
Using Java requires a JVM. Sounds like a bad idea to me. Megabytes of overbloated insecure code just for some simple maths functions?

Well. Don't ask me. Ask the one who wants to use it. Very Happy
Post 07 Oct 2013, 08:55
View user's profile Send private message Reply with quote
dogman



Joined: 18 Jul 2013
Posts: 114
dogman
TmX wrote:
Do you know similar tools which are cross platform & open source?


cod3b453 mentioned openssl. It's the most popular open source crypto platform by far. It does a lot of stuff. No GUI though. Maybe there is a 3rd party Windows GUI available on top of it. I haven't looked.

_________________
Sources? Ahahaha! We don't need no stinkin' sources!
Post 07 Oct 2013, 14:26
View user's profile Send private message Reply with quote
cod3b453



Joined: 25 Aug 2004
Posts: 619
cod3b453
It turns out the newer CrypTool is open source and has a Java version as well; only used Ye Olde Version before hehe
Post 08 Oct 2013, 17:37
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.